[TYPO3-RTE] Add several divs around a tag

rocky rockyo at max-source.com
Thu Feb 16 10:35:34 CET 2006


Sorry for the confusion, Actually my problem is that I could not have 
excactly number of divs I need after saving. You see I need 8 divs there 
. let's say if i can have 6 divs and MISSED
############
<div id="downleft"><div id="downright">
</div></div>
############

after saving by paste
########################
<div id="leftborder"><div id="topborder"><div id="rightborder"><div
id="bottomborder"><div id="upleft"><div 
id="upright"><div><id="downleft"><div id="downright">

</div></div></div></div></div></div></div></div>
#########################

The second time I paste and save
############
<div id="downleft"><div id="downright">
</div></div>
############

The source I got is only 3 divs.

Any ideas?

Thanks!
Michael Cannon wrote:
> I see your input code, what's the RTE source after saving? Or are you  
> missing the id attributes after saving?
> 
> If the latter, look at keepPDIVattribs in http://cvs.cannonbose.com/ 
> cgi-bin/viewcvs.cgi/typo3/cbstarter/pageTSconfig.txt?view=markup.
> 
> Michael
> 
> -----
> Michael Cannon
> President of Cannonbose, LLC
> Tel    : +1 (206) 351-0159         Fax : +1 (802) 609-2776
> 
> 
> 
> On Feb 15, 2006, at 13:16 , rocky wrote:
> 
>> Hey,
>>
>> I'm trying to use rtehtmlarea 1.1.6 add 8 divs around a tag so I could
>> creat the effect of the link be wrapped around by a round-corner  
>> rectangle.
>>
>> The code should be:
>> ####
>> <div id="leftborder"><div id="topborder"><div id="rightborder"><div
>> id="bottomborder"><div id="upleft"><div id="upright"><div
>> id="downleft"><div id="downright"><a href="">link text
>> </a></div></div></div></div></div></div></div></div>
>> ########
>>
>> The problem I encountered is that I could not add all of the <div>  with
>> assigned id in.
>>
>> can anyone help?
>>
>> Rocky
>> _______________________________________________
>> TYPO3-project-rte mailing list
>> TYPO3-project-rte at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-rte
> 
> 



More information about the TYPO3-project-rte mailing list