Previous Message
Next Message

What is the name of this technique?

Sent by Chris Heilmann on 10 June 2004 14:02


> I have learned that you can do the following:
>
> .foo table { ... }
> .foo th, td { ... }
> .foo input { ... }
>
> which will cascade the styles to all the children of a parents whose class
> is "foo."  What's the formal name of this technique.

Contextual Selectors
http://www.w3.org/TR/REC-CSS1#contextual-selectors

It's all in the specs.


-- 
Chris Heilmann
The mighty pen: http://icant.co.uk/
Learn to let go! http://ltlg.icant.co.uk
Binaries: http://www.onlinetools.org/

______________________________________________________________________
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/
Previous Message
Next Message

Message thread: