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:
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.HTML Code:<div id="person"> <h3>Person's Name</h3> <img src="person.jpg" class="img_left"> <p>Description</p> </div>


Reply With Quote
Bookmarks