table.colored_table th { background: lightblue; } table.colored_table tr:nth-child(even) { background: lightgray; } /* das ist im CSS die einzig erlaubte Art, Kommentare zu schreibe */ table.colored_table tr:nth-child(odd) { background: white; }