[TYPO3-RTE] Re: [Typo3-rte] Wrap rtehtmlarea iframe's content in a DIV

Stanislas Rolland stanislas.rolland at fructifor.ca
Fri Dec 23 07:05:19 CET 2005


Hi Ernesto,
> 
> I usually have my content in a <div class="content">. And in my CSS, I
> specify the formats as ".content P ...". Now if I use rtehtmlarea, I
> have to create a second CSS with the exact same settings, just without
> the ".content" selector.
> 
> My wish would be to instruct rtehtmlarea to wrap the textarea-content
> inside some user-specified <div> so that I can use the same .css file
> for the frontend output and for the rtehtmlarea dynamicCSS styles.
> 
> Maybe this is already possible and I haven't found it?
> 

No, this is not possible. Perhaps if you could assign a class to the 
body tag of the contents of the editor? Then dynamicCSS could be 
instructed to ignore/skip that class selector? What do you think?

Stanislas



More information about the TYPO3-project-rte mailing list