[Typo3] Different wrap for header of first content element
Jochen Rieger
j.rieger at connecta.ag
Tue Dec 6 16:28:13 CET 2005
Hi Felix,
if you use css_styled_content for your content rendering, which is
integrated in TYPO3 3.8.1 (just include static in your root template)
then you will get exactly this rendering with special classes for the
first element etc.
Cheers,
Jochen
FEZ (Felix Kratzer) wrote:
> 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 *
--
:: innovative it-strategies ::
:: ::
:: www.connecta.ag ::
More information about the TYPO3-english
mailing list