[TYPO3-english] Wrap several adyacent elements inside a wrap

Žiga Dolhar ziga at dolhar.si
Thu Feb 3 12:17:16 CET 2011


Hey,

I'm not very good at typoscript, but I'd do it the following way:

a) wrap the c101 with '<div class="container"> |' and c202 with '| 
</div>', or
b) group  both c101 and c102 into a new COA, and wrap this new COA with 
'<div class="container">|</div>'

Hope ti helps.

On 3.2.2011 12:06, Enrique Moreno Tent wrote:
> Hello TS experts.
>
> In my page i have these 3 elements:
>
> <div id="c100">...</div>
> <div id="c101">...</div>
> <div id="c102">...</div>
>
>
> And i want to wrap the last 2 into the same div, so it results like this:
>
> <div id="c100">...</div>
> <div class="container">
>    <div id="c101">...</div>
>    <div id="c102">...</div>
> </div>
>
> How can i do it??
>
> thanks!



More information about the TYPO3-english mailing list