Browser layout question...

Discussion in 'HTML & Website Design' started by tptnyc, Mar 10, 2008.

  1. #1
    pages layout showing different in IE & FF, how to fix this?
     
    tptnyc, Mar 10, 2008 IP
  2. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You're gonna need to post more info than that it's something with your html or most likley your css that is causing the problem, best to post a link to the site and a description of what's up?
     
    wd_2k6, Mar 10, 2008 IP
  3. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ^ agreed. However, we can tell you this:

    If you're not using a doctype, use one. Make it valid and have no spaces or anything at the front (puts IE6 in quirks mode, which right there can make IE and FF different).

    In your CSS, try using the universal margin and padding reset.

    (first line of your css sheet)
    * {
    margin: 0;
    padding: 0;
    }

    The * means, ALL ELEMENTS. Since FF, IE, Opera, and Safari have different defaults they use for any given element, this is another possibility for causing one browsers looking different from another.

    After adding a proper doctype, give your code (both HTML and CSS) a check through the W3C validator. Sometimes one browsers does one thing with an error while another ignores it.

    Lastly, check for bugs. IE is usually the bugmaster but the others also have bugs. It's likely a bug (after you've done all the above first) is changing your layout.
     
    Stomme poes, Mar 11, 2008 IP