tr.timeentry:nth-child(even) {background: #9f9} tr.timeentry:nth-child(odd) {background: #fff}