[TYPO3-dev] Improvements to standard Table Element

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon Jan 14 15:19:59 CET 2008


Steffen Kamper schrieb:
> "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.

I tried to explain why any constrainst to TH make no sense. Seems I have 
failed.

Masi

PS: The argument reformulated:

If TH were constrained to THEAD, you could have no row headers. If it were 
constrained to the beginning of a TR, you have troubles with languages that 
  are written from right-to-left.




More information about the TYPO3-dev mailing list