Hey folks!
I have a list navigation which should line up with the bottom of the header image.
It all seems to work out fine - either in IE7 OR in FF2 - but not in both at the same time....
There seems to be a 5 pixel difference between the 2.
Could someone pls take a look at the following link and let me know if there is a way to overcome this (without IE if hacks)
http://www.isra****plus.com/test/1.html (sorry for the hassle, pls remove the stars from the link – I don’t want it indexed)
Also, it seems that in IE7, the BG images isn’t showing in the "li a" (in FF2 it is, so pls compare with that) - this seems related to the problem detailed above - the 'missing 5 px' in IE.
Relevant CSS: (watch for the commented line below)
Code:body { background-color: #F1F1F1 ; text-align: center; padding: 0; margin: 0; font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color:#000000; } #mainContainer { width: 760px; text-align:center; margin: auto; } #header { background:url(../images/ui1/header.jpg) center top no-repeat; height: 137px; } #nav { text-align:center; padding: 0px; clear:both; font-size: 11px; margin-top: 107px; } /* <-------- this is fine for FF2. change this to 112px, and it will suit IE7. */ #nav ul { list-style: none; margin: 0; padding: 0 0 0 2px; text-align:left; } #nav ul li { display:inline; padding: 0; margin: 0 1px; } #nav ul li a { padding: 4px; text-decoration:none; color:#000000; background: #CCCCCC url(../images/ui1/nav_off.jpg) bottom left repeat-x;} #nav ul li.current a { padding: 4px; text-decoration:none; color:#000000; background: white none;} #nav ul li a:hover {background:#FFFFFF none; }



Reply With Quote
.



Bookmarks