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 is just one of these hacks that browsers can render, but w3c dislikes?
The code you posted is correct and valid. According to W3S nesting lists like this:
is the right way (exactly as you do it). Error is somewhere else. Please provide more code.
Even with DOCTYPE XHTML 1.0 Strict W3C validates this code
as correct.