Team:Heidelberg/tables

From 2010.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
<head>
<head>
 +
 +
 +
<!--
 +
 +
============================================================================================
 +
*** PLEASE NOTE: ***
 +
 +
The contents and design of this wiki are published under the GNU Free Documentation License. You are granted the right to copy and modify our work, but you must publish your work under the same type of license while recognizing us the authors.
 +
 +
Stefan Kleinsorg, Thomas Uhlig
 +
 +
============================================================================================
 +
 +
Table formats originate from Wikipedia.
 +
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. See Terms of Use for details.
 +
Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.
 +
 +
/-->
<style type="text/css">
<style type="text/css">
Line 25: Line 43:
/* Zebra-Tabellen - nicht für IE....*/
/* Zebra-Tabellen - nicht für IE....*/
-
table.wikitable.zebra tr:nth-child(odd) {
+
table.wikitable.zebra tr:nth-child(even) {
background: white;
background: white;
}
}
-
table.wikitable.zebra tr {
+
 
-
background-color:expression((rowIndex+1)%2?(parentNode.parentNode.rowHighlightColor||"#dddddd"):"");
+
<!-- Zebra-Tabellen - IE only
 +
special thanks to Matt Kruse --- http://www.mattkruse.com/
 +
 
 +
/-->
 +
 
 +
 
 +
table.wikitable.zebra tr {
 +
background-color:expression((rowIndex+1)%2?(parentNode.parentNode.rowHighlightColor||"#dddddd"):(parentNode.parentNode.rowNormalColor||"#FFFFFF"));
}
}

Revision as of 00:27, 18 October 2010