use inline-block instead of float