Sent by Richard Grevers on 11 June 2005 03:03
On 6/11/05, Jessica Mays [EMAIL-REMOVED]> wrote:
> 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 missing something?
The selector you've written would select all items of a nested list
within your list: e.g.
<div id="nav">
<ul>
<li>test line 1</li>
<li>line 2
<ul>
<li>This will be selected</li>
<li>And so will this</li>
</ul>
</li>
<li>line 3</li>
</ul>
</div>
--
Richard Grevers
New Plymouth, New Zealand
Orphan Gmail invites free to good homes.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/