WordPress.org

Ready to get started?Download WordPress

Forums

Header showing in Safari and FF, but not IE..? (5 posts)

  1. caughtredhanded
    Member
    Posted 5 years ago #

    Hi. My site is caught-redhanded.com and I am having issues at the moment with the header. Although it shows perfectly in Safari and FF, in IE (and on my iPhone, incidentally), it's as if the header does not exist.

    I am hoping somebody wouldn't mind taking a quick look at the code and seeing if they can't work it out. I'm pretty new to it, so I'm not entirely sure where I've gone wrong!

    Many thanks in advance

  2. stvwlf
    Member
    Posted 5 years ago #

    Hi

    Do a View Source on your home page and see that there are 4 or 5 lines of HTML code before the DOCTYPE declaration. Internet Explorer doesn't allow that at all. Get rid of them and you should be OK

  3. caughtredhanded
    Member
    Posted 5 years ago #

    You've just made my day. Many, many thanks.

  4. caughtredhanded
    Member
    Posted 5 years ago #

    Okay, so I thought removing that data above DOCTYPE had solved the problem, however it doesn't look like it has..damn! Is anybody able to help?

  5. stvwlf
    Member
    Posted 5 years ago #

    Hi

    If you look at your view source again, you will see that your header code is all commented out. FF is displaying it anyway, IE is not

    The reason I can see is this line
    <div id="header"> <!-- class="column span-14" --!>

    If you look closely, your closing comment tag is invalid should be
    - - > (without the spaces) Try that

Topic Closed

This topic has been closed to new replies.

About this Topic