Jump to:

23576 Posts in 19403 Topics by 2893 members

General Questions

SilverStripe Forums » General Questions » Image <p> tag

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

Page: 1
Go to End
Author Topic: 449 Views
  • BeagleBen
    Community Member
    3 Posts

    Image <p> tag Link to this post

    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

  • prawnstar
    Community Member
    116 Posts

    Re: Image <p> tag Link to this post

    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.


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.