label { float: left } span { display: block; overflow: hidden; } input { width: 100% }