[TYPO3-english] Wrap several adyacent elements inside a wrap
Žiga Dolhar
ziga at dolhar.si
Thu Feb 3 12:58:56 CET 2011
Oh, I thought c101 and c102 were typoscript-generated objects. How do
you actually "make" them? (Some script-generated code, manually-written
html ...?)
On 3.2.2011 12:24, Enrique Moreno Tent wrote:
> for a), I dont know how to wrap elements based only on its ID
> for b), I dont know how to group elements into a COA :S
>
> Sorry for the noobie-ness
>
> On Thu, Feb 3, 2011 at 12:17 PM, Žiga Dolhar<ziga at dolhar.si> wrote:
>
>> 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!
>>>
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>
More information about the TYPO3-english
mailing list