On May 15, 2006, at 10:56 PM, Monica Carlino wrote:
> HTLM CODE:
>
> <ul id="nav">
> <li>Home</li>
> <li>Servizi
> <ul>
> <li>Design</li>
> <li>Sviluppo</li>
> </ul>
> </li>
> <li>Contattaci</li>
> </ul>
>
> CSS:
>
> #nav > li {font-weight:bold;}
>
>
> In Firefox all the list is bold and not only the <ul id="nav">'s
> children.
> Where's the mistake?
The nested <ul> in the second <li> is still part of the top level
<li>, and inherits the font-weight.
if you want the second level li to be different, then this should work:
#nav>li ul {font-weight: normal}
Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/