Home › Forums › CSS › Frustrating IE 6.0 problem – can anyone help? › Re: Frustrating IE 6.0 problem – can anyone help?
Thanks for your reply apostrophe
I’ve tried a couple of techniques here – I had originally used an unordered list but IE 6 doesn’t seem to acknowledge that the list items should be floated – instead they just stack vertically.
Implicityly stating the dimensions of each image as attributes in the HTML has solved the problem of the image sizing.
Anyone have any idea with the list items are not floating left?
CSS
#navbar_div{
width: 912px;
margin: 0 auto;
height: 1.2em;
clear: both;
background: #F9F9F9;
padding: 0.6em 0 0.6em;
}
#navlist>li{
float:left;
margin: 0 1em;
}
html
<div id="navbar_div">
<ul id=’navlist’>
<li id="home_li">
<a href="/">
<img alt="Home" height="16px" src="/images/nav_images/home_hover.png?1242303421" width="72px" />
</a>
</li>
…
…
</ul>
</div>