====== Highlight table rows using CSS ====== In order to highlight a table row without using javascript, use the following CSS code: tr {background-color: #000000} tr:hover {background-color: #333333} Or if you only want to highlight certain rows, use this CSS code: tr.hl {background-color: #000000} tr.hl:hover {background-color: #333333} And don't forget to add the 'hl' class to those rows. Table:
C11 C12 C13
C21 C22 C23
C31 C32 C33