Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Image <p> tag

Go to End

2 Posts   731 Views


Community Member, 3 Posts

31 May 2012 at 1:24am

Is it possible to stop silverstripe applying <p> tags to images, this is cocking our layout up, tried to do disable it in tinymce and this has not worked


Community Member, 128 Posts

31 May 2012 at 4:21am

Hi, BeagleBen,

A rather unelegant solution--but an effective solution if you can use it--is to use CSS to remove margin/padding from the p tags that surround your images.

Again, not elagant, but I prefer it to mucking with TinyMCE.