#main-clock h1 { background-color: #F8EFBA; width: 200px; height: 50px; text-align: center; line-height: 50px; } # height와 line-height값을 같게 설정한다.