The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

[Solved] Wrap Around Text

  • # February 1, 2010 at 1:21 am

    Is there anyway to get text to wrap around?
    In the accordians in this file I want the text to wrap around the images. Now the width for the all the text is clearing the photo.
    I thought of just seeing where it cuts off and making 2 divs with 2 different widths…would there be issue with that across browsers? Is there a better way?

    # February 1, 2010 at 2:11 am

    Remove the absolute positioning and the huge left margin. Add "float: right", then add a small left and bottom margin to it to make sure the text doesn’t run right up to the image.

    Then you’ll want to extend the width of the what to expect div.

    # February 4, 2010 at 3:28 pm

    this worked beautifully. Thanks!!!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed