[Typo3-dev] Classes for input elements input type=submit/reset/checkbox/radio/password

tapio tapio.markula at dnainternet.net
Tue Jul 19 15:13:08 CEST 2005


> http://typo3.org/documentation/document-library/doc_core_tsref/FORM-1/
> 
> ...and just override the properties of tt_content.mailform.20.

I tested
tt_content.mailform.20.CHECK.layout=...

and I get this

<tr><td class="checboxTDLabel"><p class="csc-form-label">Contact 
me:</p></td><td class="checboxTDField"> <input value="1" name="tv" 
checked="checked" type="checkbox"></td></tr>

Well - 'layout' gives WRAP for the checkbox but NOT css for
the input element itself!
Most cases wrap is ok, but sometimes direct classes would be better,
when forms of plug-ins could use same classes.




More information about the TYPO3-dev mailing list