By applying the yui3-table-striped class to a table element, it applies the striping to the odd rows

The nth child selector allows for the table to be marked and not every row.
Excellent browser coverage http://caniuse.com/#feat=css-sel3
Explained here http://dev.opera.com/articles/view/zebra-striping-tables-with-css3/