Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Only first paragraph wraps image in IE

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1326 Views
  • Pixel
    Avatar
    Community Member
    78 Posts

    Only first paragraph wraps image in IE Link to this post

    Hi, when I put an image in a content area with more than 1 paragraph the first paragraph sits nicely against that image, however the next paragraph always sits below the image, creating a large space between the text.
    Any fixes?

  • Liam
    Avatar
    Community Member
    470 Posts

    Re: Only first paragraph wraps image in IE Link to this post

    So you want the image to be floated to the left and the text wrapped around it?

    What does the css look like? What is the class being applied to the image? What is the css that is set for your <p> tags? Any links to examples?

    The default styles should work as far as I know. The image is simply floated left and everything will wrap around it. Make sure there is no clear:both or left or right in your p tag or anything else coming in between.

    1326 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.