[TYPO3-templavoila] div:inner question
wes currier
typo3 at wesfx.com
Thu Mar 16 08:52:58 CET 2006
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.
Dmitry Dulepov wrote:
> Hi!
>
> wes currier wrote:
>
>>I have mapped a DS / TO combination using a CE with div:inner.
>>No problem.
>>
>>In my original HTML file i had an HR element with a clear:both;
>>statement. Is it possible to insert that element into the xml of the DS
>>so that it is always inserted by default, or do I set this up in TS
>>somehow?
>
>
> If <hr /> was inside this <div>, this is wrong. Should be like this:
>
> <div id="content-wrap">
> <div id="content"> <!-- map this as ce! -->
> Lorem ipsum and so on...
> </div>
> <hr />
> </div>
>
> If you cannot make it, you can use
> <stdWrap>
> wrap = |<hr />
> </stdWrap>
>
> but this is bad because adds template-specific thing to DS. This is what
> TemplaVoila tries to avoid: gives you separate data structure and
> template object.
>
> Dmitry.
More information about the TYPO3-project-templavoila
mailing list