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

Merged
merged 1 commit into from Mar 30, 2013
Jump to file
+4 −0
Split
View
@@ -55,6 +55,10 @@ striping:
background-color: #f2f2f2;
}
+/* nth-child selector for modern browsers */
+.yui3-table-striped tr:nth-child(2n-1) td {
+ background-color: #f2f2f2;
+}
/* BORDERED TABLES */
.yui3-table-bordered td {