W3C home > Mailing lists > Public > www-style@w3.org > January 1996

Inheritance of column attributes

From: Scott E. Preece <preece@predator.urbana.mcd.mot.com>
Date: Mon, 22 Jan 1996 15:01:06 -0600
Message-Id: <199601222101.PAA23946@predator.urbana.mcd.mot.com>
To: www-style@w3.org
The current draft says "Since the COL and COLGROUP elements have no
content, they are not suitable for setting other style properties than
borders."

I don't think this is acceptable.  CSS should specify that TD and TH
elements inherit from both the SGML hierarchy (TABLE, THEAD|TBODY|TFOOT,
TR) *and* from the COLGROUP and COL elements defining the column in
which the cell occurs.  The browser is already going to have to do the
necessary work to trace that inheritance in order to get rules right, so
we may as well allow the stylesheet author to use it as well.  Styling
of columns seems to me to be at least as useful as styling of rows.  My
own inclination would be to take column as "more specific" than row, for
resolving conflicts, but either is OK so long as the spec says one or
the other.

scott

--
scott preece
motorola/mcg urbana design center	1101 e. university, urbana, il   61801
phone:	217-384-8589			  fax:	217-384-8550
internet mail:	preece@urbana.mcd.mot.com
Received on Monday, 22 January 1996 16:24:12 GMT

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