I want to apply a style to a whole column of a table.  For example, 
second column to be blue and centered.  But the below code does not 
work in Firefox.  (IE okay).  I don't want to tack on a style to each 
of the td's.

<table width="100%" border="1">
<colgroup>
        <col width="400" align="left" />
        <col width="120" align="center" class="centercol bluetext"/>
        <col width="56" align="center" class="centercol"/>
        <col width="56" align="center" class="centercol"/>
        <col width="56" align="center" class="centercol"/>
</colgroup>     
<tr>
        <td>Why the next four columns are not centered?</td>
        <td>Oct 4, 2005</td>
        <td>o</td>
        <td>x</td>
        <td>l</td>
</tr>
</table>

-artcoder (at) http://webmarksonline.com

______________________________________________________________________
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/

Reply via email to