On Thursday, October 31, 2013 03:53:37 AM Peter Payzant wrote:
> how could I alternate background colours on adjacent rows of the table
> using the style sheet? Normally I'd just assign alternating classes to
> the <th> and <td> elements...
if you are targetting newer browsers than this should do the trick:
table tr:nth-child(odd) {
background-color: #eee;
}
(Note: tried this with only simple tables)
--
Regards.
V.Krishn
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users