html/css: fix floating issue for floated elements