Team:Heidelberg/tables
From 2010.igem.org
(Difference between revisions)
Line 25: | Line 25: | ||
/* Zebra-Tabellen - nicht für IE....*/ | /* Zebra-Tabellen - nicht für IE....*/ | ||
- | table.wikitable.zebra tr:nth-child( | + | table.wikitable.zebra tr:nth-child(odd) { |
background: white; | background: white; | ||
} | } | ||
table.wikitable.zebra tr { | table.wikitable.zebra tr { | ||
- | background-color:expression(rowIndex%2?(parentNode.parentNode.rowHighlightColor||"#dddddd"):""); | + | background-color:expression((rowIndex+1)%2?(parentNode.parentNode.rowHighlightColor||"#dddddd"):""); |
} | } | ||
Revision as of 00:18, 18 October 2010