I have a major problem. I have a top nav bar in the form of a list. In list style it is fine, but when I apply display: inline I have a constant 3px gap between the ‘ul li a’ and the ‘ul li’
Heres the code I’m using:
[QUOTE]
#mainMenu
{
text-align: center;
height: 27px;
margin: 0 0 0 162px;
width: 597px;
border:0;
}
#mainMenu ul
{
margin: 0 !important;
padding: 8px 0 6px 0;
}
#mainMenu li
{
text-align: right;
border: 1px solid #F00;
display: inline;
}
#mainMenu ul li
{
padding: 7px 0px 5px 0px;
margin: 0 !important;
width: auto;
}
#mainMenu ul a
{
}
#mainMenuContainer li
{
}
It happens in all browsers so its not 3 pixel jog generated by the floating logo to the left of the menu.
Any help would be greatly appreciated.
Will