That's because what you've done is different from applying two classes to the same element. With that piece of CSS, you are applying colour to a list item that is inside another list item that is inside an element with the ID of 'nav'. To make this code do something, you'd need the following html:
<div id-"nav"> <ul> <li>test line 1 <ul> <li>sub line 1</li> </ul> </li> <li>test line 2</li> </ul> </div> 'sub line 1' would have the new colour applied. Hope that makes things a little clearer. Cheers, Seona. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Jessica Mays > Sent: Saturday, 11 June 2005 8:06 AM > To: Ben Henick > Cc: css-d@lists.css-discuss.org > Subject: RE: [css-d] Can someone explain this to me > > > I am messing around with this concept, but it is not seeming to work for > me > > Take this css: > > * #nav li li { > color:#FF9900; > } > > (I have also tried it without the *) > > On html like: > > <div id="nav"> > <ul> > <li>test line 1</li> > <li>line 2</li> > <li>line 3</li> > </ul> > </div> > > I am not seeing any changes, and I would have expected to see line 2 > turn orange. > > Am I messing something? > > ------------------------- > > Jessica Mays > Graphic Designer > WebSurveyor Corporation > __________________________________________________________________ << ella for Spam Control >> has removed Spam messages and set aside Later for me You can use it too - and it's FREE! http://www.ellaforspam.com
______________________________________________________________________ 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/