Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: not2easy
I'm using float to allow text to wrap around an image within a DIV.
The problem I have is when the height of the text is less that the height of the image. In this instance, the image overlaps the bottom of the div.
The behaviour I'd like is for the DIV's height to the the maximum of it's content or the floated image.
In IE, setting the DIV's height to anything does the trick, though from what I read in the spec, I suspect this is a bug. This doesn't work in other browsers...
Welcome to Webmaster World!