td { padding:5px 0px !important; border:2px solid #fff; font-size:12px; color:#333 } tr:nth-child(odd) { background-color:#f9f9f9 !important; } tr:nth-child(even) { background-color:#f5f5f5 !important }