[TYPO3-core] RFC: #10905: Produced tables from pi_base are not XHTML Strict valid

Franz Koch typo.removeformessage at fx-graefix.de
Thu Apr 16 18:41:26 CEST 2009


Hi,
>> I myself would also drop the inline-css and use the css-selector of 
>> the table to achieve this - but that's my personal taste.
> 
> The table don´t have a own id or class. This could passed with the 2nd 
> parameter to pi_list_browseresults().

I actually don't use the default markup for pi_list_browsresults, but 
according to class.tslib_pibase.php there is a wrapping div around the 
table, that simplified looks like this:

$this->cObj->wrap($resultCountMsg.$theLinks,'<div 
'.$this->pi_classParam('browsebox').'>|</div>');

So there is a wrapper around it - although only coupled to the extKey 
and not solved with nested/coupled classes like 'class="tx_myext 
browsebox"'.

> Add the property by
> 
> table td {
>   white-space: nowrap;
> }
> 
> it was done globally for all tables. IMHO not a good idea.

That's of course a no go.

-- 
kind regards,
Franz Koch

---------------------------------------------------
PayPal-Account: 'paypal _at_ elements-net _dot_ de'
---------------------------------------------------


More information about the TYPO3-team-core mailing list