[thelist] cross browser css : 1 pixel difference

Sarah Sweeney mr.sanders at designshift.com
Mon Jun 14 14:42:57 CDT 2004


Jelle Desramaults wrote:
> I've been having some trouble with my navigation on my site : 
> 
> http://www.valskin.be/businessgifts/businessgifts.html 
> 
> Works fine in ie 6, but it jumps a pixel in Mozilla and in ie 
> 5 for mac, i've tried lots of things, maybe you guys can help
> me out.

If you change the padding in a.nav to "padding: 5px 5px 4px 5px;", the 
black navigation links (I assume this is what you were referring to) are 
1px shorter in Firefox, and still look the same in IE6.

BTW, I'd be remiss if I didn't recommend you use CSS for layout instead 
of tables - but of course it's totally up to you :)

-- 
Sarah Sweeney
Web Developer & Programmer
Portfolio :: http://sarah.designshift.com
Blog, etc :: http://hardedge.ca


More information about the thelist mailing list