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

Gregor Hermens gregor at a-mazing.de
Thu Feb 3 13:20:18 CET 2011


Hi Enrique,

Enrique Moreno Tent schrieb:

> 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??

use content elements of type HTML to insert '<div class="container">' before 
c101 and '</div>' after c102.

hth
Gregor
-- 
http://www.a-mazing.de/   |   Certified TYPO3 Integrator



More information about the TYPO3-english mailing list