[TYPO3-dev] Master Style 4 Typo3
Franz Koch
typo3 at fx-graefix.de
Tue Feb 21 09:28:57 CET 2006
>>h1/h2 are already different tags, no need to use a class for that....
+1
> CSS already offers excellent ways to 'drill down' to a specific content
> element. The main thing is to wrap the ext object in an id'd div once. Then
> leave the rest up to css. In this way, each object can be overstyled or
> left naturally styled depending on your preference.
>
> #ext_thing h1 {}
>
> etc. Less is more.
Well, and what do you do if you have to place the same extension twice
on one page? Then the extension renders two elements with the same ID
which is not valid at all. Extension-wrappers can always only be classes
in my eyes.
If you need unique IDs, wrap the content-elements with the uid it it
isn't allready standard for 4.0. You need his anyway for valid XHTML as
a-tag anchors are invalid.
--
Kind regards,
Franz Koch
More information about the TYPO3-dev
mailing list