• kenwinstoncaine

    (@kenwinstoncaine)


    My site broke.

    I’ve been trying to fix validation errors and am not sure what I need to do to close some divs.

    The main site is: https://www.mindbodyspiritjournal.com

    I’m currently trying to fix the single.php page which is no longer calling sidebars. Not sure how or why this suddenly happened seemingly while the blog sat dormant for a week.

    At same time the sidebar call broke, the white background on the page disappeared when you view the site in Firefox. The white background Is there in IE. Maybe, maybe, maybe all related to the close-div issue?

    THE DIV QUESTION is in regard to this single post page code:
    https://www.mindbodyspiritjournal.com/right-livelihood/building-mind-body-spirit-journal/sorry-this-site-is-broken

    When I validate, I’m told that divs aren’t closing for page, content, wrapper and body.

    In each case, it points to:

    Error Line 63, column 6: end tag for “div” omitted, but OMITTAG NO was specified .
    </div>
    You may have neglected to close an element, or perhaps you meant to “self-close” an element, that is, ending it with "/>" instead of ">".

    ?

    Info Line 34, column 0: start tag was here .
    <div id="content">


    Now… This is all that is on line 63:

    </div>

    What do I NEED to put there so those four divs will close and the page will validate?

    Thanks,
    kwc

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to close a div?’ is closed to new replies.