Neler neler yazılmış... Halbuki 2 satır CSS yetiyor;


tr:nth-child(odd) {background: #FFF}
tr:nth-child(even) {background: #CCC}


Odd => Tek --- Even => Çift anlamına gelir.