kippie
08-17-2002, 06:01 PM
When previewing the HTML below there appears an open line between the "headtext" (with style H1) and the rest of the text (with style H2). Although there are no codes like <br>. Is it possible to make it so that there is no open line and that the rest of the text comes immediately under the headtext?
This is the HTML:
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive 4">
<title>Welcome to Adobe GoLive 4</title>
<style type="text/css"><!--
#Home1 { background-color: #4169E1; position: absolute; top: 70px; left: 70px; width: 300px; height: 200px; padding: 20px; z-index: 13; overflow: auto; visibility: visible; visible }
H1 { color: #191970; font-weight: 400; font-size: 18px; font-family: Arial; text-align: justify; width: 100% }
H2 { color: #191970; font-size: 10pt; font-family: Arial; text-align: justify }
-->
</style>
</head>
<body>
<div id="Home1"><br>
<H1>This is text with style H1</H1>
<H2>And this is text with style H2 </H2>
</div>
</body>
</html>
Kippie
This is the HTML:
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive 4">
<title>Welcome to Adobe GoLive 4</title>
<style type="text/css"><!--
#Home1 { background-color: #4169E1; position: absolute; top: 70px; left: 70px; width: 300px; height: 200px; padding: 20px; z-index: 13; overflow: auto; visibility: visible; visible }
H1 { color: #191970; font-weight: 400; font-size: 18px; font-family: Arial; text-align: justify; width: 100% }
H2 { color: #191970; font-size: 10pt; font-family: Arial; text-align: justify }
-->
</style>
</head>
<body>
<div id="Home1"><br>
<H1>This is text with style H1</H1>
<H2>And this is text with style H2 </H2>
</div>
</body>
</html>
Kippie