[Typo3] Different wrap for header of first content element

FEZ (Felix Kratzer) fez at stoccer.de
Tue Dec 6 16:05:03 CET 2005


Hi everybody!

How can i wrap the header of the first page-content-element differently.
Why I need thisß

At the moment I use
content.wrap.header1 = <h1>|</h1>
and h1{margin-top: 10px;}

but this results in a badly placed first header.
As the page I'm working on will be edited by quite a few people I'd like 
to AUTOMATICALLY wrap the FIRST header of a page with maybe <h1 
class="firstheader"> | </h1>
and then use h1.firstheader{margin-top: 0px;}

Any ideas on this?
Or am I missing some VERY simple solution to this?

Thanks anyway
FEZ (Felix Kratzer)
  * STOCCER.COM *



More information about the TYPO3-english mailing list