replace float:left with display:inline-block