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...") |
|||
(18 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
+ | <style> | ||
+ | </style> | ||
</head> | </head> | ||
<body> | <body> | ||
+ | |||
+ | |||
<script> | <script> | ||
- | var | + | var tfb = document.getElementById("TueFooter").offsetTop; |
- | document.getElementById(" | + | var tl = document.getElementById("left").offsetTop; |
+ | |||
+ | document.getElementById("left").style.height = tfb - tl - 25 + "px"; | ||
</script> | </script> | ||
</body> | </body> |
Latest revision as of 23:40, 29 August 2013