|
Posted by Jukka K. Korpela on June 7, 2007, 6:30 am
Please log in for more thread options
Scripsit Andy Dingley:
>> I'm wondering if it's possible within HTML markup (or possibly CSS)
>> to specify that an HTML table's headers should be placed 'over' the
>> cell borders rather than 'within' the cells.
>
> The only conceivable situation I can think of that justifies this as
> reasonable semantic markup would be for three "states" in the cells
> and two "transitions" between them in the headers. In that case I'd
> use 5 columns, dummy cells and some colspan attributes.
I was not able to imagine _any_ situation where the idea would be backed up
with a semantic structure. Your imagination seems to be better than mine. In
the situation you describe, the logical structure would seem to consist of a
table with with five real columns - three for the states and two for
expressions (e.g., special symbols) that indicate transitions. In that case,
the heading cells would logically correspond to the transition indicators.
For the visual presentation, the heading cells might have colspan="3",
making the table a 6-column table in markup, so that the middle state column
is actually split into two columns. This would somewhat mess things up.
But maybe we should wait for a URL.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
|