CSS q re a testimonial page set up

Out of context: Reply #10

  • Started
  • Last post
  • 19 Responses
  • welded0

    Add overflow: hidden; to the element containing the floated image or div. As long as you haven't defined dimensions for it, the container will stretch to fit the content.

    <div style="overflow: hidden; margin-bottom: 10px;">
    <div style="width: 100px; float: left;"><img src... /></div>
    <div style="width: 300px; float: right;">blah blah blah</div>
    </div>

    Something along those lines anyway.

View thread