tr {
   border: 1px solid #ccc;
}

td {
   border-right: 1px solid #ccc;
   padding: 5px;
}

tr:hover {
 background-color: #ccc;
 cursor: pointer;
}