Team:Tuebingen/Template/equalHeight

From 2013.igem.org

(Difference between revisions)
(Created page with "<html> <head> </head> <body> <script> var h = document.getElementById("mainContentID").offsetHeight; document.getElementById("menuID").style.height = h + "px"; </script> </b...")
Line 5: Line 5:
<body>
<body>
<script>
<script>
-
   var h = document.getElementById("mainContentID").offsetHeight;
+
   var h = document.getElementById("bodyContent").offsetHeight;
-
   document.getElementById("menuID").style.height = h + "px";
+
   document.getElementById("left").style.height = h + "px";
</script>
</script>
</body>
</body>

Revision as of 22:44, 27 August 2013