change "float: left" to "display: inline-block"