W3C home > Mailing lists > Public > www-style@w3.org > September 2002

Request for a more proper way to handle table column width

From: Gustav Svensson <gurra16@spray.se>
Date: Mon, 23 Sep 2002 05:01:30 -0400
To: www-style@w3.org
Message-ID: <1032771659004283@spray.se>
I have a suggestion for something that I think css1 lacks when it comes to tables.

If you have a table with a defined width, either absolute or relative, and let's say
there are 3 columns.
Then the width of those columns are (to use simplified terms) split equal automatically.
What I think is lacking here, is some sort of width property like 'full'.
The thing is, if you want the two first columns no wider than their content (like
"width: auto;"),
you would need to adjust the 3rd column to be "width: 100%", which is a dirty hack.
Or, you could set the width of the 2 first columns to "width: 1px", which is neither
In this case, you would want to set the 3rd column to be "width: full", which in this
case would mean
"the remainder horizontal space". Sort of like using the asterisks in html along with
Then the "width: auto;" property for the 2 first columns would properly be acknowledged.
naturally, you should only be allowed to set one column per table to be "width: full".
And it would only work for tables with a defined width.
Is this a good idea...?

Här börjar internet! 
Skaffa gratis e-mail och internet på Spray http://www.spray.se
Received on Monday, 23 September 2002 05:01:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:03 UTC