reubenb
11-02-2006, 12:16 PM
Hi!
In the following code in IE, the div menucontainer has a bigger height (downwards) then it should be. In all othe rbrowsers, including IE7 it looks fine.
can someone find me a work around, if it means having a seperate css for this?
have a look if you're not sure at
http://www.lynxas.com/clients/bonnetts/test.html
#menucontainer {
position:relative;
top:0px;
height: 23px;
width: 498px;
margin-right: auto;
margin-left: auto;
z-index: 5;
background-color:#999999;
}
#menu li
{
display: inline;
list-style-type: none;
padding-right: 10px;
margin-left: auto;
margin-right: auto;
font-family:Arial, Helvetica, sans-serif;
font-weight:normal;
color: #550000;
background-color:#000099;
text-decoration: none;
z-index: 6;
}
<div id="menucontainer"><div id="menu"><ul id="menu" align="center">
<li><a href="#">Test</a></li>
<li><a href="#">Test</a></li></ul></div>
</div>
In the following code in IE, the div menucontainer has a bigger height (downwards) then it should be. In all othe rbrowsers, including IE7 it looks fine.
can someone find me a work around, if it means having a seperate css for this?
have a look if you're not sure at
http://www.lynxas.com/clients/bonnetts/test.html
#menucontainer {
position:relative;
top:0px;
height: 23px;
width: 498px;
margin-right: auto;
margin-left: auto;
z-index: 5;
background-color:#999999;
}
#menu li
{
display: inline;
list-style-type: none;
padding-right: 10px;
margin-left: auto;
margin-right: auto;
font-family:Arial, Helvetica, sans-serif;
font-weight:normal;
color: #550000;
background-color:#000099;
text-decoration: none;
z-index: 6;
}
<div id="menucontainer"><div id="menu"><ul id="menu" align="center">
<li><a href="#">Test</a></li>
<li><a href="#">Test</a></li></ul></div>
</div>