W3C home > Mailing lists > Public > www-style@w3.org > March 2004

Re: Styling table columns--why so limited?

From: Christoph Päper <christoph.paeper@tu-clausthal.de>
Date: Tue, 30 Mar 2004 04:55:03 +0200
Message-ID: <024401c41602$6762f260$3ef4ae8b@heim4.tuclausthal.de>
To: <www-style@w3.org>
Cc: "Dan Delaney" <dan1@fluidmind.org>

Dan Delaney wrote:
> Could someone please point me to a discussion of the rationale
> behind such limited style options for the colgroup and col elements?

That's because of the inheriance system of HTML, CSS, or two-dimensional
document trees in general.
If HTML build tables (alternatively) like this:


    A C
    B D

'col' could in theory inherit its declarations to the 'td's. In practice the
CSS table model isn't that generic and resembles the one from HTML closely
("row primary"). Perhaps therefore the CSS table model is missing column
counterparts for 'table-header-group' and 'table-footer-group'. I don't know,
whether it's planned to make "column primary" tables supported, and neither,
if it's at all possible to implement both at the same time.

> I'd like to know why the spec doesn't allow for something as
> important as "text-align" and other styles on those elements.

Column( group)s and all their children don't contain text, so what would be
the point?
Received on Monday, 29 March 2004 21:54:10 UTC

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