Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Senior Coder twodayslate's Avatar
    Join Date
    Mar 2007
    Location
    VA
    Posts
    1,042
    Thanks
    67
    Thanked 39 Times in 39 Posts

    Validate - end tag for "li" omitted, but OMITTAG NO was specified

    http://validator.w3.org/check?uri=ht...idator%2F1.654

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

    Can I put a list in a dd?
    twitter | Quality Hosting - $5.95/mo*
    Feel free to PM me!

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts

    Macintosh

    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:

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

  • Users who have thanked Fumigator for this post:

    twodayslate (05-04-2009)

  • #3
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    Oh and this line opens a <li> but doesn't have a closing tag. It's the <li> you nest another <ul> into.

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

  • Users who have thanked Fumigator for this post:

    twodayslate (05-04-2009)

  • #4
    Regular Coder BoldUlysses's Avatar
    Join Date
    Jan 2008
    Location
    Winston-Salem, NC
    Posts
    938
    Thanks
    10
    Thanked 190 Times in 187 Posts
    You could save yourself some validation headaches by nesting the tags. You are missing a tag or two. Try this:

    Code:
    	<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>
    matt | design | blog

  • Users who have thanked BoldUlysses for this post:

    twodayslate (05-04-2009)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •