table {
    border : 2px solid black;
    border-spacing: 0;
    empty-cells: show;
    margin:auto;
    width:90%;
}

table[rules="rows"] thead th {
    color: white;
    background-color: black;
}

table[rules="rows"] tbody th {
    background-color: #bbf;
    border: 1px solid black;
}

table[rules="rows"] td {
    border-bottom: 1px solid black;
    border-right: 1px dotted gray;
    text-align : center;
}

table[rules="rows"] tbody tr:hover * {
    background-color: #dde;
}
