Previous Message
Next Message

Re: [css-d] question about selectors

Sent by westciv on 29 January 2002 16:04


Eric, Austin

>>i'm just trying to get a handle on selectors and want to know if i 
>>have this right.
>
> From the SelectORacle <http://gallery.theopalgroup.com/selectoracle/>:

>Selector 1: div#content > p:first-child
>    Selects any p element that is a first child that is a child of a 
>div element with an id attribute that equals content.
>
>Selector 2: div#content > h1 + p
>    Selects any p element that immediately follows a h1 element that 
>is a child of a div element with an id attribute that equals content.

I do hate to sound like an ad :-), but Style Master will give you this 
information as you create your selectors. I still think its a cool 
feature :-)

http://www.westciv.com/style_master/

Ah, so that's what westciv is ;-)

Regards,

john

John Allsopp

  _____l a y o u t  m a s t e r____       _____s t y l e  m a s t e r____
       HTML + CSS Page Layout                Standards are Everything
            for the Web                    master cascading style sheets

         http://www.westciv.com                 [EMAIL-REMOVED]
Previous Message
Next Message

Possibly related: