[TYPO3-templavoila] div:inner question

wes currier typo3 at wesfx.com
Thu Mar 16 09:27:57 CET 2006


Can't do that because I would then have two Container Elements in one 
page. I was told a few threads ago that multiple Containers is a bad idea.

See thread on 3/3/2006 with heading: 'TV fields not showing up'

Tomas Broeker wrote:
> 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