24 ways to impress your friends

Jump to menu

Vote down?

Matt Wilcox

It will be nice when CSS3 gets supported widly enough to use

tr:nth-child(even) { background-color : #eee; }

instead of the javascript approach. Until that time though, this method is very useful.