styleBunny
Technical User
Hi guys, i have this code, it renders fine in ie6 and even well in ie4 (cept for the double margin) but ff 1.01 wont clear properly, i have tried all types of clearing but have had no success. It looks like a nested div in ff but it isnt, ie renders it correctly as two divs next to each other.
Thanks for looking and helping as always,
sb.
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
.div1{
background-color:#00FF55;
float:left;
margin:0px 10px 10px 20px;
width:50px;
display:inline;
}
.div2{
background-color:#CCC;
margin:0px 10px 10px 20px;
width:150px;
}
</style>
</head>
<body>
<div class="div1">
<img src="[URL unfurl="true"]http://www.google.com.au/images/logo_sm.gif"[/URL] width="50" height="50">
</div>
<div class="div2">
Blairgowrie <br />
Blairgowrie <br />
Blairgowrie <br />
Blairgowrie<br />
</div>
<h1>Blairgowrie</h1>
<p>
BlairgowrieBlairgowrieBlairgowrieBlairgowrieBlairgowrieBlairgowrie
</p>
</body>
</html>
Thanks for looking and helping as always,
sb.