.demo { height:200px; float:left; margin-left:20px; position:relative; } input { width:50px; height:50px; display:inline-block; float:left; margin-left:10px; outline:none; text-align:center; line-height:50px; font-size:35px; font-weight:800; } .border { border:1px solid orangered; } #space { margin-right:30px; } #spa { font-size:50px; position:absolute; left:198px; color:#C0C0C0; height:56px; line-height:56px; }