Folks, when styling <table> columns with css it gets really messy when you
have to apply a class to each cell like this:

<table>
  <tr><td class="cls1">A</td><td class="cls2">B</td><td
class="cls3">C</td></tr>
  :
</table>

Is there some css syntax where you can make rules like the following
thereby avoiding the need to clutter up the actual table markup:

*The first cell of each row has class "col1"*
*The second cell of each row has class "col2"*
etc

Greg K

Reply via email to