Spacing: Mozilla vs IE

December 1st, 2003

I'd forgotten how irritating browser variations can be. I spent some time over the weekend trying to add the finishing touches to my home page. I'm designing it for Mozilla/Firebird and IE6. I don't have the time, nor the inclination, to check it on any other browsers or versions. The problem I'm having is a small but annoying one. IE6 and Firebird display padding differently. When I get the div padding just right in IE, there's no extra space in Firebird. If I get it just right in Firebird, there's far too much spacing in IE.

I really want to avoid having to do JavaScript to detect the browser and use a different CSS file accordingly, but I have yet to find an alternative. But after all this time – all these years of browsers behaving differently – you think at least Mozilla and Microsoft could agree to do things the same way!

Leave a comment