Trying to solve a markup validation error that is driving me nuts
-
I’m trying to solve this validation error:
# Error Line 106, Column 7: end tag for “div” omitted, but OMITTAG NO was specified
</body>
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 48: start tag was here
><div class=”container”>
I’m not sure i understand what the problem is. I assume it has to do with the “# Info” message regarding the “container”. But I’ve verified all divs and all are closed.
The actual code from header.php is:
</head> <body> <div class="container"> <div class="container-inner"> <!-- Begin Masthead -->Not sure if the Info message complains about having ><div class=”container”> without space between > and <. But as you can see the code doesn’t put <body> right next to <div class=”container”>.
I’m at a loss here. Can someone please give some pointers what to look for?
/p
The topic ‘Trying to solve a markup validation error that is driving me nuts’ is closed to new replies.