Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Centering suddenly broke in IE (margin: 0 auto;)

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29449
    immel
    Member

    .

    #78452
    virtual
    Participant

    You are in Quirks mode in IE not standards mode and this is the culprit

    Quote:
    <!–
    * YEE’S HUNG GA KUNG FU EDINBURGH 2010
    * HTML, CSS, JavaScript & DESIGN by MARTIN STARK
    *
    *
    –>

    The DOCTYPE must the very first thing on the page, any non-whitespace textual content before the doctype will cause IE to go into quirks mode.

    #78455
    immel
    Member

    Wow, thanks, I completely missed that :)

    Solved.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.