[TYPO3] adding a div-tag to every text content element

tapio tapio.markula at dnainternet.net
Wed Jan 18 10:12:00 CET 2006


Peter Klein wrote:
> "dieter orens" <reddesertvandriver at gmail.com> skrev i en meddelelse 
> news:mailman.1.1137543454.31493.typo3-english at lists.netfielders.de...
> 
> 
>>Hi, I want to add a div-tag to every 'text'-part (not the header part) of 
>>the text-content element. Is there a way to do this?
> 
> 
> Hi dieter. Try this (Untested)
> 
> tt_content.text.20.wrap = <div style="border:1px solid green;">|</div>
> 
I have used this for the content type 'text' (works also with text and 
images)

tt_content.text.20.dataWrap = <div class="basicText">|</div>



More information about the TYPO3-english mailing list