[Typo3] Different wrap for header of first content element

Peter Klein peter at umloud.dk
Tue Dec 6 16:30:19 CET 2005


Hi Felix. Have you ever looked at the HTML source that typo3 generates? ;)
As it already has a class (class="csc-firstHeader") for the 1st header on a 
page..

-- 
Peter Klein/Umloud Untd


"FEZ (Felix Kratzer)" <fez at stoccer.de> skrev i en meddelelse 
news:mailman.1.1133881503.11846.typo3-english at lists.netfielders.de...
> 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