[TYPO3-content-rendering] More accessible forms: tt_content.search.30 / tt_content.login.20 in TYPO3 4.0rc1

Franz Koch typo3 at fx-graefix.de
Wed Mar 15 00:53:49 CET 2006


Nice.

>     layout = <div class="csc-searchform-field">###LABEL### 
...
>     params.radio = class="csc-searchform-radio"
>     params.check = class="csc-searchform-check"
>     params.submit = class="csc-searchform-submit"

Don't treat this personally, but WHY do you guys always use classes like 
"csc-rendertypewhatever-xyz" for class-names inside a 'container class'?
Why no simple "form-xyz", "form-radio", "form-submit"? If a webmaster 
wants to style f.e. the searchform different from any other form inside 
typo3, he can use "div.csc-searchform .form-field" to address this 
specific element. But as a great plus a general and cross-extension 
styling for elements (f.e. "form-radio") or whatever would at least be 
possible with minimum ammount of css-code and could be a first aproach 
in the direction of typo3-rendering schemes.

-- 
Kind regards,
Franz Koch



More information about the TYPO3-project-content-rendering mailing list