hey, although quite experianced in web design, im a newbie to css :p
as a learning excercise im trying to replicate a css design from scratch
im having a problem getting my paragraph headings <div class=”head”> to move to were they should be, without using <br> in html, when i try putting “margin-top 217px;” into the css for my head class it, it moves ALL my content down
please could you help me!, its probably structural
here is my css:
[CODE]body {
font-size: 8pt;
font-family: sans-serif;
color: #555753;
background: #fff url(bg.jpg) no-repeat bottom right;
margin: 0px;
}
a:link {
font-weight: bold;
text-decoration: none;
color: #B7A5DF;
}
a:visited {
font-weight: bold;
text-decoration: none;
color: #D4CDDC;
}
a:hover, a:active {
text-decoration: underline;
color: #9685BA;
}
div.main {
margin-left: 250px;
margin-top: -14px;
background-color: #FFFFFF;
background-image: url(“bg_main.gif”);
background-repeat: repeat-y;
width: 569px;
height: 700px;
}
div.lefty {
background-image: url(“bg_header.jpg”);
background-repeat: no-repeat;
margin-left: 32px;
width: 346px;
height: 217px;
}
div.righty {
background-image: url(“bg_header2.jpg”);
background-repeat: no-repeat;
width: 148px;
height: 217px;
margin-left: 389px;
margin-top: -217px;
}
div.para {
margin-left: 9px;
width: 330px;
}
div.para p {
margin-top: 217px;
}
div.head {
background-image: url(“flower3.gif”);
background-repeat: no-repeat;
background-position: top left;
}
div.head h1 {
margin-left: 24px;
}
and here is my html:
[CODE]<html>
<head>
<title>Test Template</title>
<link href=”style.css” rel=”stylesheet” type=”text/css”
</head>
<body>
<!– start the main div –>
<div class=”main”>
<!– start the left in main –>
<div class=”lefty”>
<!– start the top in left –>
<div class=”topl”>
</div>
<!– start the para in left –>
<div class=”para”>
<!– start the head in para –>
<div class=”head”>
<h1>
Welcome to Floware</h1>
</div>
<p>
Welcome to Floware! We are a web design company based in Edinburgh and run by students. Our services include: web design, graphic design, branding, banner creation and widget creation. Due to the fact we are students our prices are 10% of what most established companys charge, and there is no difference in quality!</p>
</div>
</div>
<!– start the right in main –>
<div class=”righty”>
<!– start the topr in right –>
<div class=”topr”>
News <Br> No news
</div>
</div>
</div>
</body>
</html>
thanks in advance to anyone who trys or suceeds in helping me!
?