Lists inside lists don't validate with w3c?

Posted by cosmicbdog on Stack Overflow See other posts from Stack Overflow or by cosmicbdog
Published on 2010-03-24T10:54:14Z Indexed on 2010/03/24 11:03 UTC
Read the original article Hit count: 664

Filed under:
|

Hi everybody,

I've got some lists inside lists to make some fancy drop-down menus.

e.g

<ul>
    <li>something
        <ul>
            <li>sub menu</li>
        </ul>
    </li>
</ul>

Problem is, w3c doesn't like it. Is there a way to make this validate or this just one of these hacks that browsers can render, but w3c dislikes?

© Stack Overflow or respective owner

Related posts about validation

Related posts about html