Link to home
Start Free TrialLog in
Avatar of Melody Scott
Melody ScottFlag for United States of America

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/menu/meat.html 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_courses.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
ASKER CERTIFIED SOLUTION
Avatar of nap0leon
nap0leon

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Melody Scott

ASKER

Thanks!
Hmm.. maybe I shouldn't have accepted so fast. :) That file only has 68 lines. Let me look at that jsbeautifier.
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>
Avatar of nap0leon
nap0leon

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?