...

View Full Version : Validate - end tag for "li" omitted, but OMITTAG NO was specified



twodayslate
05-04-2009, 10:50 PM
http://validator.w3.org/check?uri=http%3A%2F%2Fpbguntrader.com%2Findex.php&charset=(detect+automatically)&doctype=Inline&ss=1&outline=1&group=0&verbose=1&user-agent=W3C_Validator%2F1.654

It says I have not closed by tags but they looked closed to me :\

Can I put a list in a dd?

Fumigator
05-04-2009, 11:05 PM
You have a nested <ul> there and the outer <ul> didn't get closed up before you closed up the <dd>.

I'm seeing it like this:



<dd>
<ul>
<li>
<ul>
<li />
</ul>
<ul>
<li />
</ul>
<ul>
<li />
</ul>
</li>
//missing </ul> here
</dd>

Fumigator
05-04-2009, 11:10 PM
Oh and this line opens a <li> but doesn't have a closing tag. It's the <li> you nest another <ul> into.



<li><a href="./viewforum.php?f=25" class="read" title="No new posts">Pump Markers</a>

BoldUlysses
05-04-2009, 11:13 PM
You could save yourself some validation headaches by nesting the tags. You are missing a tag or two. Try this:


<ul class="subforums">
<li><a href="./viewforum.php?f=23&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Electronic Guns</a>
<ul>
<li><a href="./viewforum.php?f=61&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">New Markers</a></li>
<li><a href="./viewforum.php?f=130&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Multiple Markers</a></li>
<li><a href="./viewforum.php?f=30&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">AKA</a></li>
<li><a href="./viewforum.php?f=31&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Bob Long</a></li>
<li><a href="./viewforum.php?f=36&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Cockers</a></li>
<li><a href="./viewforum.php?f=120&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">First Endeavor Paintball</a></li>
<li><a href="./viewforum.php?f=84&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Dangerous Power</a></li>
<li><a href="./viewforum.php?f=122&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Diablo</a></li>
<li><a href="./viewforum.php?f=33&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Dye/Proto</a></li>
<li><a href="./viewforum.php?f=37&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Infinity Paintball Products</a></li>
<li><a href="./viewforum.php?f=38&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Invert</a></li>
<li><a href="./viewforum.php?f=39&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Kingman</a></li>
<li><a href="./viewforum.php?f=41&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Macdev</a></li>
<li><a href="./viewforum.php?f=42&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Planet Eclipse</a></li>
<li><a href="./viewforum.php?f=43&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Smart Parts</a></li>
<li><a href="./viewforum.php?f=47&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">WDP</a></li>
<li><a href="./viewforum.php?f=48&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Other</a></li>
</ul>
</li>
<li><a href="./viewforum.php?f=24&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Non Electronic Markers</a>
<ul>
<li><a href="./viewforum.php?f=62&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">New Markers</a></li>
<li><a href="./viewforum.php?f=131&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Multiple Markers</a></li>
<li><a href="./viewforum.php?f=148&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Airgun Designs</a></li>
<li><a href="./viewforum.php?f=49&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Cockers</a></li>
<li><a href="./viewforum.php?f=50&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Indian Creek Designs</a></li>
<li><a href="./viewforum.php?f=51&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Kingman</a></li>
<li><a href="./viewforum.php?f=52&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Tippmann</a></li>
<li><a href="./viewforum.php?f=53&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Worr Games Products</a></li>
<li><a href="./viewforum.php?f=63&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Other</a></li>
</ul>
</li>
<li><a href="./viewforum.php?f=25&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Pump Markers</a>
<ul>
<li><a href="./viewforum.php?f=64&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">New Markers</a></li>
<li><a href="./viewforum.php?f=132&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Multiple Markers</a></li>
<li><a href="./viewforum.php?f=65&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">CCI</a></li>
<li><a href="./viewforum.php?f=66&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">CCM</a></li>
<li><a href="./viewforum.php?f=67&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Sniper</a></li>
<li><a href="./viewforum.php?f=68&amp;sid=ffdb830c74366a1014ab433d6fb25d50" class="read" title="No new posts">Other</a></li>
</ul>
</li>
</ul>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum