The problem happens when I add in my left column (col3):
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
#col3 {
float:left;
width:350px;
margin:10px 0 0 0;
text-align:justify;
}
#col4 {
position:relative;
background-color:#0066FF; /* only used for browser testing - remove when finished */
margin:10px 0 0 370px;
}
#promoarea {
position:absolute;
border:1px solid gray;
top:0px;
width:340px;
height:250px;
}
</style>
</head>
<body>
<div id="col3">
<p>Here at the Landscape Yard, you'll find all that you need to make your garden flourish. Create an outstanding Alfresco area to suit our West Australian lifestyle with our unique products. </p>
<br />
<p>Whether you are planning a stunning courtyard, planting a new garden bed, installing a <a href="water.html">water feature</a> or even creating a children's play area, we've got everything that you need to create a fantastic garden.</p>
</div>
<div id="col4">
<div id="promoarea" style="background:url(images/promo_clad.jpg)">
<div id="promoitem">
<p>Come into our yard to see our great range of cladding from only $59 / square metre!</p>
</div>
</div>
</div>
</body>
</html>
When that column is added in, Firefox displays col4 incorrectly. It shifts it up the page. I just can't work out why it does it.
Liam.
Bookmarks