Nils Kr. Falch wrote:
> To me your markup makes little sense.
> 
> Why is the sublist a child of an empty list element and not the one
> with the header (expanded class)?
> 
> Wouldn't this be a better solution?
> <li class="expanded"><a href="#">Menu 3</a>
>       <ul>
>               <li class="selected"><a href="#">Sub-Menu 3.1</a></li>
>               <li><a href="#">Sub-Menu 3.2</a></li>
>               <li><a href="#">Sub-Menu 3.3</a></li>
>               <li><a href="#">Sub-Menu 3.4</a></li>
>       </ul>
> </li>

I guess you are right too. I've changed it to your suggested markup and 
it works perfectly without having to change the CSS.

I've posted it online too:

     + http://dev.adrianocastro.net/help/0006/0006_solved2.html

Tks,
AD

-- 
[EMAIL PROTECTED]
www.adrianocastro.net
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to