Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2009
    NYC (Manhattan)
    Thanked 0 Times in 0 Posts

    Firefox vs. Internet Explorer

    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??


  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Thanked 328 Times in 324 Posts
    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.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts