<style type="text/css"> .my_table tr:nth-child(even) { background: #d8ebfa; } .my_table tr:nth-child(odd) { background: White; } </style>