Its because of the specificity. 

See here for more info: http://www.xs4all.nl/~peterned/csshover.html

Also you may want to check it still works in ie6 :)

Cheers,

Darren Lovelock
Munky Online Web Design
http://www.munkyonline.co.uk
T: +44 (0)20-8816-8893 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of tee
Sent: 12 May 2008 00:56
To: wsg@webstandardsgroup.org
Subject: Re: R: [WSG] is display:none inheritance


On May 10, 2008, at 1:41 AM, Diego La Monica wrote:

> Hi tee,
> simply:
>
> ul#nav li ul li ul{
> display: none;
> }
>
>
Hi Diego, it doesn't work - all sub-level show up.

However, if I add the #menu it works

#menu ul#nav li ul li ul{
display: none;
}

As previously mentioned, I figured it out with this one

#menu ul#nav ul ul {display: none;}

It appears that it needs a very clear instruction and demands the respect of
Parent - Child relatonship, somthing like you can't call your grandpa 'Hey
Joe!' :-)

Ciao,
tee



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to