WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Custom theme breaks in IE9 (4 posts)

  1. jzahlaway
    Member
    Posted 3 years ago #

    Site in question can be seen HERE.

    XHTML validates, CSS validates.

    Works in every browser I've tested except for IE9. In IE9 native, the background loads, and all the source code loads, but nothing shows up other than the background.

    It works in IE9 if I switch to compatibility mode, but that's not the fix I'm looking for. I need it to run in IE9 native.

    Any insight would be greatly appreciated.

  2. Travis Northcutt
    Member
    Posted 3 years ago #

    I think you may have a problem with an html comment on line 26 of your source:

    <! [endif]-->

    Try changing that to <!-- [endif]-->

  3. esmi
    Forum Moderator
    Posted 3 years ago #

    I think you may have a problem with an html comment

    No! That's not a standard HTML comment. It's an IE specific conditional comment. See Conditional_Comment_CSS

  4. jzahlaway
    Member
    Posted 3 years ago #

    I removed the conditional comment, and it works now.

    Edited to add: Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic