Found out that float items inside the div would overflow outside of the div if the floated item was larger than the text. Added overflow: auto; to div to fix.