[TYPO3-dev] Typo3 Icon Contribution

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon Aug 21 09:29:55 CEST 2006


JoH schrieb:
>>>And the idea to set a style for TAG without bindign
>>>to a class still makes me shudder...
>>
>>Sorry if this seems like a stupid question--I have /not/ dug into the
>>skinning API or looked very deeply into the new skin.  But why would
>>styling tags directly be a bad idea?
>>
>>Styling the BE would have different requirements from the FE, and must
>>use many more classes, but even in the BE there must be many times
>>when it makes sense to set a default style--by styling the tag--and
>>afterwards /vary/ that style as needed with classes?
> 
> 
> Exactly this is the usual way to keep the HTML code as lean as possible.
> 
> In most cases the only class you need can be assigned to a div container
> surrounding simple tags without any class.

See my other post why adding style to INPUT is a failure. And check out the 
BE with different browsers and see the ugly alignment of checkboxes in TCA 
form because of this CSS code.

Masi




More information about the TYPO3-dev mailing list