tr:nth-child(odd) td { background-color:#AAAAAA; } tr:nth-child(even) td{ background-color:#DDDDDD; }