The solution to this is somewhat counter-intuitive, but try using the property overflow:hidden; on the parent of the floating elements.
Now is the time for all good men to come to
the aid of their country.
This is non-float content.
Now is the time for all good men to come to
the aid of their country.
This parent has {overflow: hidden;}
.