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

Re: Proposal: :column pseudo-class

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sun, 03 Jul 2005 04:17:35 +1000
Message-ID: <42C6DA3F.7080102@lachy.id.au>
To: Orion Adrian <orion.adrian@gmail.com>
CC: W3C Style List <www-style@w3.org>

Orion Adrian wrote:
> Couldn't this problem simply be solved by removing the presentational
> attributes "colspan" and "rowspan".

They're not presentational at all.  They're structural, and it is not 
always semantically correct to simply duplicate the values in each cell 
in place of colspan and/or rowspan.  For example, marking up a timetable 
of classes.  The time of the day along one axis, and the days of the 
week along the other.

Mon | Maths |    English    |Science| Lunch |   Computers   |
Tue | ...

Notice how some classes, English and Computers, span two hours each. 
They're not two seperate consecutive 1 hour classes — they're both 2 
hour classs.  To mark that up without colspan by duplicating the name in 
each cell would be semantically incorrect.

Lachlan Hunt
Received on Saturday, 2 July 2005 18:17:45 UTC

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