WordPress.org

Ready to get started?Download WordPress

Forums

Invalid XHTML with "headerimg" DIV tag (4 posts)

  1. joemccann
    Member
    Posted 7 years ago #

    Here is the error I am getting:

    Error Line 24 column 22: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
    <div id="headerimg"></div>

    Here is my website: http://www.coolestshitever.com

    In FF the display of the header and the header image is fine, but in IE the background color of the "page" DIV peeks thru on the right hand side of the header. I'm assuming this is triggering the invalidity of the page, but I'm not sure how to fix it.

  2. joemccann
    Member
    Posted 7 years ago #

    Any suggestions?

  3. onocrotalus
    Member
    Posted 7 years ago #

    That line doesn't seem to be causing the page's errors any more.

  4. drursi08
    Member
    Posted 7 years ago #

    I hada very similar problem, but fixed it when I removed the <p> tags that were around the <div> tags in question

Topic Closed

This topic has been closed to new replies.

About this Topic