Forum Moderators: not2easy
<img...>
<p>
...
</p>
where my css tells the image to float (either left or right). This all works great. The problem I have is when I run out of text so that the floated image hangs down beyond the text into the next section. Then, if I have an image floated right in the next section, the first will float to the right, and the next to the left of the first.
I've tried to contain the paragraph and image in a div and have tried 'vertical-align: baseline;' on the img.
I guess what I'm really asking - is there a way to grow a section to the size of the floated image? I've also tried doing this by spanning the text and setting the height to the image size, but then the text won't wrap around the image. I didn't like this anyway because I had to know the size of the image to set the span height.
Any ideas?