.container,.display{ width:500px; margin:0 auto } table{ margin:0 auto } #topTemplate td:not(.verticalLine),#bottomTemplate td:not(.verticalLine){ width:40px; height:40px; border-radius:40px; border:1px solid black; cursor: pointer; } .verticalLine{ border-right:1px solid black } .horizentalLine{ border-top:1px solid black } .selected{ background:#07BCD3; } button{ margin-top:30px; float:right; cursor: pointer; }