[TYPO3-english] Content-position specific styling in htmlArea

Erich Schreiber nospam at to.me
Mon Jun 8 11:53:48 CEST 2009


We normally use <div id="something"> ... </div> to setup different
areas in our sites (like 'main_content', 'menu', 'footer', etc.).
Inside of those DIVs standard HTML-tags do not use further classes and
are configured with CSS rules like '#something strong { ... };'

E.g. We have a text-element 'Hello' and put it into header, main
content and footer. In the frontend it will look different because of
the different CSS rules for those locations. Just now our htmlArea
configuration looks the same for all those cases.

How do we get htmlArea to display those different styles in dependence
of frontend-location?

This should work in standard subpart-composition and in Templa Voilá
with sub-templates.


More information about the TYPO3-english mailing list