Carlton Gregory wrote:
>If I have a class defined for a table named "tclass" and that
>table has headers, rows, and columns
>
>Can I refer to all rows in the above table in my CSS as
>
> .tclass tr {
>
> Style, style style.....
>
> }
>
>
> And all data as
>
> .tclass td {
>
> Style style style....
>
> }
>
>Or do I have to define a class each for th tr and td for that
>table?
>
>Ive looked through a book published last year and I cant find
>an example with that notation.
>
>
The notation that you are referring to is descendant selectors. If
anyone wants more information on them and other selectors, I highly
recommend http://css.maxdesign.com.au/selectutorial/.
Zoe
--
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu
______________________________________________________________________
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/