I am trying to use the sonofsuckerfish drop down menu. Its working fine in IE and FF, but in IE it's not taking up 100% width on the page. My FF is using a Serif by default to render fonts (which takes up the 100% using the auto width), whereas IE is something else. If I force the serif it still doesn't match up in IE. My plan is to try to put a green background for the entire bar and then put auto'd margins on the left and right to center it. (I think it's the float left causing issues.) I can not get that to work. What am I missing? Thanks.
Code:
body {
background-color:#FFFFFF;
color: #999999;
text-align:center;
width:910px;
margin: 0 auto;
border:1px solid #b5e547;
font-size: 76%;
}
/* Menu Styles */
#menu {
width: 100%;
background: #498d09;
margin: 0 auto;
}
#nav, #nav ul {
font-family: tahoma;
font-weight: normal;
padding: 0;
margin: 0 4px;
list-style: none;
}
#nav li {
float: left;
width: auto;
background: #498d09;
}
#nav a {
display: block;
width:auto;
color: #FFFFFF;
text-decoration: none;
background: #498d09;
padding: 5px 18px;
}
#nav a:hover{
background: #b5e547;
}
#nav li ul {
position: absolute;
width: 250px;
left: -999em;
background: #498d09;
text-align:left;
}
#nav li:hover ul, #nav li.sfhover ul{
left: auto;
font-size: 8pt;
}
#nav li ul li{
width: 100%;
background: #b5e547;
}
and
<div id="menu">
<ul id="nav">
<li><a href="">About</a></li>
<li><a href="">Solutions by Need</a></li>
<li><a href="">Solutions by Technology</a>
<ul>
<li><a href="">Accounts Payable Automation</a></li>
<li><a href="">Accounting Firms</a></li>
</ul>
</li>
<li><a href="">Services</a></li>
<li><a href="">Products</a></li>
<li><a href="">Clients</a></li>
<li><a href="">Resource</a></li>
<li><a href="">Events</a></li>
</ul>
<br>
</div>
<br>
<div style="clear:both;"></div>