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.

Archive /

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

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

Only first paragraph wraps image in IE


Go to End


2 Posts   2195 Views

Avatar
Pixel

Community Member, 78 Posts

9 November 2008 at 5:35am

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?

Avatar
Liam

Community Member, 470 Posts

9 November 2008 at 6:49am

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.