Team:Heidelberg LSL/Gallery
From 2012hs.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
{{Stylesheet}} | {{Stylesheet}} | ||
- | <html> | + | <html> |
+ | |||
<style type="text/css"> | <style type="text/css"> | ||
#news {height: 550px; border:5px} | #news {height: 550px; border:5px} | ||
Line 84: | Line 85: | ||
</style> | </style> | ||
- | < | + | |
+ | |||
+ | <body id="home" onload="setPageSize()"> | ||
<div id="super_main_wrapper"> | <div id="super_main_wrapper"> | ||
<div id="SubWrapper"> | <div id="SubWrapper"> | ||
<h2>Gallery</h2> | <h2>Gallery</h2> | ||
</div> | </div> | ||
+ | |||
<div id="news"> | <div id="news"> | ||
<center> | <center> | ||
Line 123: | Line 127: | ||
</div> | </div> | ||
</body> | </body> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | function setPageSize() { | ||
+ | len = document.getElementById('super_main_wrapper').offsetHeight; | ||
+ | document.getElementById('bodyContent').style.height = len + 'px'; | ||
+ | document.getElementById('SupWrapper').style.height = len + 'px'; | ||
+ | document.getElementById('news').style.height = len + 'px'; | ||
+ | } | ||
+ | </script> | ||
</html> | </html> |
Revision as of 15:41, 14 June 2012