Jump to:

23377 Posts in 18296 Topics by 2867 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: 422 Views
  • BeagleBen
    Avatar
    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
    Avatar
    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.

    --
    Chris

    422 Views
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.