Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Are you AFRAID of Validation?


wsda - 12:09 am on Jan 23, 2009 (gmt 0)


edit: NEVERMIND it appears to be a Firefox cache bug with the Web Developer toolbar. After I shut down and cleared my cache then reloaded the page these weird errors went away. I'll leave the original post here so Google can cache it forever thus making me immortal...
======================

Hope this isn't in the wrong thread. I'm not understanding why validation is failing on my page. I have two nested DIV tags and an UL with LI../LI elements, then everything is closed in the proper order. I thought DIV and UL are block-level elements, thus fine to nest...? They are all inside of a TD element in a table, perhaps that is the issue? Code:

<table class="tableB" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td valign="top" align="left"><div id="ctl00_LeftMenuInsert"><div id="leftMenu"> <ul>
<li><a href="/">WSDA Home</a></li>

etc...and here is the validator message I get:

Error Line 99, Column 84: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
…00_LeftMenuInsert"><div id="leftMenu"> <ul>
The mentioned element is not allowed to appear in the context in which you've placed it;

Any hints please?


Thread source:: http://www.webmasterworld.com/html/3832106.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com