#our_table ul { margin: 0; } #our_table li { width:40px; height:40px; text-align:center; vertical-align:middle; background-color:#B0D1D3; display: inline-block; margin: 1px -1px; line-height: 30px; cursor: pointer; } #our_table li.highlighted { background-color:#2D7073; }