View Full Version : Firefox vs. Internet Explorer

07-20-2009, 08:21 PM
Fellow Coders,

I'm in the process of putting together a website and up until this point have been previewing/testing the website in Firefox. I noticed that when I switched to IE (version 6.0), the whole thing looked really messed up. Here's what I've done so far to remedy the problem:

- Took out all iframes - I guess they're not supported by IE
- Changed almost all "position:aboslute" tags to "position:relative" which was a real pain.

It looks much much better in IE now, but it's still a 5-10 pixels off from FireFox. For example, a caption that appears below a picture in Firefox shows up as slightly overlapping in IE. Any thoughts on what else I might have to do??


07-20-2009, 08:38 PM
It depends on your layout and coding. A link to the site would be a good thing to post.

One possible solution:
You can use conditional comments in your HTML to include a second stylesheet that makes the minor changes you need to make it look correctly in IE. If the second stylesheet is declared after your primary one, you can override any settings in the primary one in the secondary stylesheet.