Is there a way to style table in the following manner with CSS?
I want to define individual properties for each column of a table. i.e. Same bgcolor, padding, alignment. This, to me , seems problematic. It would be easier to style whole rows than whole columns because rows are contained in the same <tr> tag, while columns are not.
The only alternative I can think of (which I'd like tog et away from) is setting a unique class for each <td> cell that comprises the column.
Is there any other way to do this?
BTW (my table is for tabular data, not layout!)
Styling Tables effectively