How to specifiy the column width and text alignment of an HTML table using CSS?
- by xkcd
Is it possible to specify the width of a table column in percentages using css?
Also is it possible to specify the text alignment of a specific column?
For example I have a table that has 3 columns.
I would like to say
col1.width = 20%
col2.width = 40%
col3.width = 40%
col1.text-align = left;
col2.text-align = right;
col3.text-align = center;