On this test page:
I have a "sub navigation" UL below the main navigation UL.
When viewed in Firefox 3, there is a 10px gap between the subnav UL and the UL above, and the div below.
When viewed in IE6, that gap is doubled - see this screenshot:
I can't work out why.
The #nagivation ul is defined as:
Code:
If I remove the 10px margin-bottom, then it sort of fixes it in IE6, by reducing the gap above the subnav UL, but it still leaves a huge gap below the subnav ul, and anyway, then it completely removes the gap in Firefox, so the main nav ul and subnav ul have no gap between them!
HTML = valid
Any advice much appreciated.
I have a "sub navigation" UL below the main navigation UL.
When viewed in Firefox 3, there is a 10px gap between the subnav UL and the UL above, and the div below.
When viewed in IE6, that gap is doubled - see this screenshot:
I can't work out why.
The #nagivation ul is defined as:
Code:
Code:
#navigation ul {
float:left;
width:100%;
padding:0;
list-style:none;
background:#306090;
margin: 0 0 10px 0;
}
HTML = valid
Any advice much appreciated.
Comment