Team:Heidelberg/tables

From 2010.igem.org

(Difference between revisions)
Line 44: Line 44:
/* Zebra-Tabellen - nicht für IE....*/
/* Zebra-Tabellen - nicht für IE....*/
table.wikitable.zebra tr:nth-child(even) {
table.wikitable.zebra tr:nth-child(even) {
-
background: white;
+
background: #</html>{{{normal}}}<html>;
}
}
 +
table.wikitable.zebra tr:nth-child(odd) {
 +
background: #</html>{{{highlight}}}<html>;
 +
}
/* Zebra-Tabellen - IE only special thanks to Matt Kruse --- http://www.mattkruse.com/ */
/* Zebra-Tabellen - IE only special thanks to Matt Kruse --- http://www.mattkruse.com/ */
Line 52: Line 55:
table.wikitable.zebra  tr {
table.wikitable.zebra  tr {
-
background-color:expression((rowIndex+1)%2?(parentNode.parentNode.rowHighlightColor||"#dddddd"):(parentNode.parentNode.rowNormalColor||"#FFFFFF"));
+
background-color:expression((rowIndex+1)%2?(parentNode.parentNode.rowHighlightColor||"#</html>{{{normal}}}<html>"):(parentNode.parentNode.rowNormalColor||"#/html>{{{highlight}}}<html>"));
}
}

Revision as of 00:56, 18 October 2010