-----Original Message-----

Let's say you have a table to 10 columns and 100 rows.

With rows you can fairly easily set up a custom style to apply to a row,
but what about columns?

The first column is a key of sorts, the rest data.  Yes I can do
something like:

<tr><td class="c1">some key</td><td class="c2">data</td><td
style="color: #ff0000">data</td></tr>

Since all of column #1 will take on the same appearance, is there a
method of setting a global type style that only applies to column 1
without having to apply the class/style syntax to all 100 rows?  Ditto
for column #2, etc?


------------------------------------------------------------------------
-----------------------

You can use the 'colgroup' tag with a class applied to the 'col's
inside, and then style those.

Hopefully this link will be of use:
http://htmldog.com/guides/htmladvanced/tables/

James



______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to