[TYPO3-dev] Improvements to standard Table Element

Steffen Kamper steffen at sk-typo3.de
Mon Jan 14 13:13:32 CET 2008


"Ernesto Baschny [cron IT]" <ernst at cron-it.de> schrieb im Newsbeitrag 
news:mailman.1.1200310638.6205.typo3-dev at lists.netfielders.de...
> Daniel Pötzinger wrote: on 13.01.2008 11:52:
>
>>> While doing that maybe we could even find a way of allowing the user to
>>> tag a cell with some css-class and to choose td / th, e.g.:
>
>> The classes and some extra possibilities are a good idea. But why td/th: 
>> Is it not enough that the first row (if defined in tablelayout) is th and 
>> all others are td? Or do you think of defining some repeating headerrows?
>
> I thought that a TH might not only be the first row, but maybe the first 
> two or three, or maybe there is a header row "in-between". I am not sure 
> if this is semantically correct for accessibility, but it is allowed by 
> XHTML 1.1, so it should be possible.
>
> Cheers,
> Ernesto

it is allowed at any place ([1]). Difference is
table header cell (th) - used for header information
table data cell (td) - used for table data

There is no limitation about placement in tables.

vg  Steffen

[1] http://www.w3.org/TR/html401/struct/tables.html#h-11.2.6 






More information about the TYPO3-dev mailing list