Here is my setup:
I have a comment container div. Inside this div, I have three more divs. Two are float-left, and one is float-right.
https://i.stack.imgur.com/z8l2J.jpg
These 3 divs have around them rounded-corner borders. I think it is pretty easy to tell which ones in the above image are float left and float right.
After the three floated divs, there is an invisible “clear” div,
<div style="clear:both; border:none;"></div>
My problem is, I can’t seem to find a way to make the “some test info” div slide all the way to the bottom of my comment (so that its bottom is right above the top of the “clear” div.
Float doesn’t work like that; elements will always float to the top like [insert simile here].
You’ll probably have to abandon the
floatmethod and useabsolutepositioning, something similar toIf you do this, you’ll need to set a
topproperty also, so it doesn’t stack on top of the stats section.