[TYPO3-templavoila] div:inner question
Tomas Broeker
broekth at web.de
Thu Mar 16 08:53:14 CET 2006
wes currier schrieb:
> original HTML
> <div id="main">
> <!-- ###MAIN### start-->
> <h1>Main</h1>
>
> <h2>Subheading</h2>
> <p>
> Lorem ipsum dolor sit amet,
> </p>
> <hr />
> <!-- ###MAIN### end-->
> </div>
>
> CE mapped to "id = main"
>
> It is used as a spacer and after looking at it again, there is no float
> clearing assigned. Unfortunately I have to have it in there.
>
>
Hi Wes,
you have to map the div:main as a container element. Then you map the
subelements (h1, h2, p) as normal elements.
Content will always be put in between the Tags and everything that is
not mapped will remain where it is, i.e. the hr-tag will be inserted
automatically.
Regards
Thomas
More information about the TYPO3-project-templavoila
mailing list