[TYPO3-templavoila] div:inner question

Dmitry Dulepov typo3 at fm-world.ru
Thu Mar 16 08:15:27 CET 2006


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.
-- 
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-project-templavoila mailing list