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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1075 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
digibrains

Community Member, 130 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