Board index » Web Programming » applying a CSS class to all cells within a table
|
GwenZierdt
|
|
GwenZierdt
|
applying a CSS class to all cells within a table
Web Programming10
Is there a way of specifying the CSS class of all cells within a table without having to set the class attribute for each cell individually (server-side or client-side)? Paul - |
| Patrice
Registered User |
Thu Apr 05 11:43:52 CDT 2007
Re:applying a CSS class to all cells within a table
See :
www.w3.org/TR/REC-CSS2/selector.html">www.w3.org/TR/REC-CSS2/selector.html (note that other selectors are not necessarily supported in IE6 and earlier). For example a selector such as "table.myclass td" allows to define a style for all td tags that are inside a table whose class name is "myclass". --- Patrice "PJ6" <noone@nowhere.net>a écrit dans le message de news: uGBRVs5dHHA.284@TK2MSFTNGP05.phx.gbl... QuoteIs there a way of specifying the CSS class of all cells within a table - |
| PJ6
Registered User |
Thu Apr 05 13:49:17 CDT 2007
Re:applying a CSS class to all cells within a table
Wow, perfect. Thank you.
Paul "Patrice" <www.chez.com/scribe/>">www.chez.com/scribe/> wrote in message QuoteSee : - |
