Can't understand whats going on, I'm pretty used to making horizontal lists and this hasn't happened before!
In IE6, the list has too much of a top margin [even though it's set to 0], stopping it from aligning with the surrounding images.
Here's my code if anyone can help!
CSS:
/*STYLE'S///////////////////////////////////////////*/
body {margin:0;padding:0;font-family:Arial, Helvetica, sans-serif;font-size:10px;}
a {color:#F0F0F0;}
a:hover {color:#FFF;}
/*DIV'S///////////////////////////////////////////*/
#container {width:720px;float:right;}
#banner {background-image:url(../Images/banner.jpg);height:253px;}
#swirl {background:url(../Images/swirl.jpg) 0 0 no-repeat;padding-left:30px;}
#content {width:100%;clear:left;padding:0;}
#footer {clear:left;height:40px;background-image:url(../Images/bg_bottom.jpg);}
/*LIST'S///////////////////////////////////////////*/
#nav {background:url(../Images/nav_ul.jpg) 0 0 repeat-x;padding:0;margin:0;
list-style-type:none;width:100%;float:left;}
#nav li {display:inline;}
#nav a {display:block;float:left;padding:8px 25px 12px 3px;background:url(../Images/nav_a.jpg)
100% 0 no-repeat;font-weight:bold;text-decoration:none;}
HTML:
Code:
<div id="container">
<div id="banner"></div>
<div id="swirl">
<div id="content"></div>
<ul id="nav">
<li><a href="#">HOME</a></li>
<li><a href="#">PORTFOLIO</a></li>
<li><a href="#">PRICE GUIDE </a></li>
<li><a href="#">CONTACT</a></li>
</ul>
<div id="div">Content for id "content" Goes Here</div>
</div>
<div id="footer"> </div>
</div>