[TYPO3-RTE] tinymce_rte templates unwanted wraps and disapearing tag

Andreas Burg typo3 at andreasburg.de
Sun Mar 29 20:14:14 CEST 2009


Tapio,

> Typo3 wraps as default images with p tag. You can disable that behavior.
> You can set for the P tag a class and set for that class margin:0

it would be nice, if someone can tell me how to disable this rendering of P elements around IMG 
elements. As far as I know, IMG elements may occur as child in block-elements except PRE, 
inline-elements and with HTML Transitional even within the body-element.

Setting margin:0 is not enough, you also need display:inline, BUT I don't need a P-element around an 
IMG-element anyway.

-- 
Andreas

Mailing list rules & guidelines (Mailing list Regeln & Leitfaden):
http://typo3.org/community/mailing-lists/
http://typo3.org/community/mailing-lists/mailing-list-rules-guidelines/


More information about the TYPO3-project-rte mailing list