#train-stops { position: absolute; z-index: 100; box-shadow: 3px 3px 5px rgba(150, 150, 150, 0.5); width: 225px; border: 1px solid #d1d1d1; border-radius: 5px; background-color: #ffffff; } #train-stops td { border-bottom: 1px solid #e4e4e4; height: 39px; vertical-align: middle; text-align: center; color: #484747; } #train-stops tr:hover td { background-color: #fafafa; } #train-stops tr:last-child td { border-bottom: none; }