Melody Scott
asked on
End tag div seen, but there were open elements. Can you help me find the open element?
Hi, please see: http colon //dev2.magickitchen.com/me nu/meat.ht ml on http://validator.w3.org.
It's made up of two pages, attached(the actual extension is .tmpl, I changed it to .txt).
The page Mk-cat-page.tmpl validates well on the other page, http: colon dev2.magickitchen.com/menu /main_cour ses.html, so I'd rather not make changes to that if possible.
I think the error lies on Mk-cat-cell-w-grande. Obviously there are other problems beyond the validation, but I'd like to get this div problem cleared up, and I'm not having any luck.
Thanks for your help.
mk-cat-page.txt
mk-cat-cell-w-grande.txt
It's made up of two pages, attached(the actual extension is .tmpl, I changed it to .txt).
The page Mk-cat-page.tmpl validates well on the other page, http: colon dev2.magickitchen.com/menu
I think the error lies on Mk-cat-cell-w-grande. Obviously there are other problems beyond the validation, but I'd like to get this div problem cleared up, and I'm not having any luck.
Thanks for your help.
mk-cat-page.txt
mk-cat-cell-w-grande.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hmm.. maybe I shouldn't have accepted so fast. :) That file only has 68 lines. Let me look at that jsbeautifier.
ASKER
I removed the two divs, but I still see 5 errors:
Line 869, Column 6: End tag div seen, but there were open elements.
</div>
✉
Error Line 60, Column 32: Unclosed element section.
<section class="contentWrapper">
✉
Error Line 940, Column 6: Stray end tag div.
</div>
✉
Error Line 944, Column 10: Stray end tag section.
</section>
✉
Error Line 1002, Column 6: Stray end tag div.
</div>
Line 869, Column 6: End tag div seen, but there were open elements.
</div>
✉
Error Line 60, Column 32: Unclosed element section.
<section class="contentWrapper">
✉
Error Line 940, Column 6: Stray end tag div.
</div>
✉
Error Line 944, Column 10: Stray end tag section.
</section>
✉
Error Line 1002, Column 6: Stray end tag div.
</div>
There were 4 extra DIV tags that I identified by looking at it visually in jsbeautifier.
The new line numbers you mentioned don't line up with any HTML that you posted. Can you post the entire HTML for another go-round?
The new line numbers you mentioned don't line up with any HTML that you posted. Can you post the entire HTML for another go-round?
ASKER