Change the float left to display:inline-block;