Previous Message
Next Message

Re: [css-d] CSS Browser Sniffer?

Sent by Ben Nunn on 26 January 2002 20:08


>
> > I've seen such a syntax before (using '>'), but am unclear about what it
> > means.  Could someone pls explain further?
>
> Hi Karen,
>
> That's a "Child" Selector.
>
> td > img would mean images whose direct parent is a table cell. So an
image
> in the same table, but in a paragraph, would not be affected.

Or to put it another way:

td img
will cascade through any number of nested elements as appropriate

td > img
will inherit only at the next immediate level


BTN
Previous Message
Next Message

Possibly related: