div{ float: left; border-style: ridge; width: 20%; height: 150px; margin: 5%; text-align: center; font-size: 100px; background: #E8822A; } #start,#result{float: left; margin: 5%; } #high{ color: red; float: left; margin: 5%; } body{ background: #F5F5DC; } h1,h1+p{ text-align: center; }