W3C home > Mailing lists > Public > www-style@w3.org > April 2005

width in table

From: Robert <rvlwork@xs4all.nl>
Date: Mon, 25 Apr 2005 14:54:18 +0200
Message-ID: <426CE87A.70002@xs4all.nl>
To: www-style@w3.org

Hi,

Maybe this is a simple question, but I can't seem to get it to work.
Let's say I have this table:

        <table style="width: 300px">
            <tr>
                <th>Header</th>
                <td>1</td>
                <td>22</td>
                <td>333</td>
            </tr>
        </table>

How can I use CSS 2 to make the th take minimal width and let the other 
columns divide the rest of width equally. Also I do not know how many 
data columns I have.
Received on Monday, 25 April 2005 14:13:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:36 GMT