[TYPO3-dev] Improvements to standard Table Element

Steffen Kamper steffen at sk-typo3.de
Mon Jan 14 14:30:04 CET 2008


"Martin Kutschker" <Martin.Kutschker at n0spam-blackbox.net> schrieb im 
Newsbeitrag 
news:mailman.1.1200316994.29039.typo3-dev at lists.netfielders.de...
> Steffen Kamper schrieb:
>>
>> 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.
>
> Wouldn't make sense anyway. If constrain THs to THEAD than you can have 
> only column headers. You need them at the start of a TR to get row 
> headers.
>
> Is it possible in a DTD to allow an element only as the first child 
> element (<TR><TH>...) or after another element (...</TH><TH>...)? With it 
> you could force a row header to the left. But that breaks for Arabic and 
> other languages written right-to-left.
>
> Masi

may be it's possible with a DTD. But normally this is used to define new 
rules for new types.
As there is no rule that constrains th to thead, there is no need for it.

Also think about encapsulated tables, it's possible to use more than one row 
headers:

th td td th td td th td td

vg  Steffen 






More information about the TYPO3-dev mailing list