table{ border-collapse: collapse; } td, th{ margin: 0; padding: 5px; } h1{ font-size: 16pt; font-family: Arial, Helvetica, sans-serif; } th{ text-align: center; } tr:hover{ background-color: lightgrey; }