Results 1 to 2 of 2

Thread: Wrapping beneath image

  1. #1
    Join Date
    Jun 2005

    Wrapping beneath image

    Hello. I have a page where there is a picture of a person on the left and a description on the right. The problem is when I float the picture left, text will wrap under it if the picture's height is not as much as the text. Here is a sample:

    HTML Code:
    <div id="person">
    <h3>Person's Name</h3>
    <img src="person.jpg" class="img_left">
    The class img_left has the declaration of float:left; but if the description happens to be really long, it wraps beneath the picture which I don't want. I know how to achieve this look using tables, but I would rather use CSS. Thanks.
    Barkleigh's Webmaster

  2. #2
    Join Date
    Apr 2003
    float the <p> right with a specified width.
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles