See
http://mikelambert.me/floatdiv.htm
So I'm trying to float an element to the right of a bunch of text on the screen. The float is making the text wrap, as expected. I have a border on the top of the titles, but the float isn't making the actual div smaller. Its just making the text in the div wrap. The title border-top is going right through the float.
How can I make the float make the div smaller so my title borders stop before the float?
The same problem is effecting the margin-right of the <p>'s (lorem).