tr:hover td { border: 1px solid; background-color: #6caad9; color: #ffffff; } tr:hover a, a:hover { color: #ffffff; text-decoration: none; }