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!
Potentially similar posts
- Scan for available IP addresses – August 2011
- How to: Get a white screen – June 2011
- Adding your choice of text editor to Flare’s Open With menu – December 2010
- Use the existence of a file on the server to determine Javascript behaviour in the browser – November 2010
- Video plays locally but not on the web – August 2010