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, biapar, Willr, Ingo, swaiba, simon_w

Image <p> tag


Reply


2 Posts   545 Views

Avatar
BeagleBen

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

Avatar
prawnstar

Community Member, 127 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.

--
Chris