Team:Tuebingen/Template/equalHeight
From 2013.igem.org
(Difference between revisions)
(7 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
- | |||
<style> | <style> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</style> | </style> | ||
- | |||
- | |||
</head> | </head> | ||
<body> | <body> | ||
- | |||
<script> | <script> | ||
- | var tfb = document.getElementById(" | + | var tfb = document.getElementById("TueFooter").offsetTop; |
var tl = document.getElementById("left").offsetTop; | var tl = document.getElementById("left").offsetTop; | ||
- | document.getElementById("left").style.height = tfb - tl + "px"; | + | document.getElementById("left").style.height = tfb - tl - 25 + "px"; |
</script> | </script> | ||
</body> | </body> |
Latest revision as of 23:40, 29 August 2013