Hi Peer,
re:
> When I add a new row that messes up the table zebra striping since it's done with separate even
> and odd row classes. Any ideas for automatically redoing the striping?
Try this:
code:
/*
.odd td {
background-color: #F0F0F0;
}
.even td {
background-color: #E0E0E0;
}
*/
tr:nth-child(odd) {
background-color: #F0F0F0;
}
tr:nth-child(even) {
background-color: #E0E0E0;
}
- Michael
|