Difference between revisions of "Team:Tokyo Tech"

Line 472: Line 472:
 
     <img src="https://static.igem.org/mediawiki/2016/c/c9/T--Tokyo_Tech--slide8.png" alt="" />
 
     <img src="https://static.igem.org/mediawiki/2016/c/c9/T--Tokyo_Tech--slide8.png" alt="" />
 
</p>
 
</p>
<br><br><br><br><br><br><br><br><br>
+
 
 
<div id="logo_sponsors">
 
<div id="logo_sponsors">
 
<p align="center">
 
<p align="center">
Line 487: Line 487:
 
</p></div>
 
</p></div>
  
 +
<script>
 +
window.onload = function(){
 +
 +
var width = document.body.clientWidth;
 +
 +
var img = document.getElementById('logo_sponsors');
 +
 +
var imgMarginTop = width * 3 / 4;
 +
 +
console.log (width);
 +
 +
img.style.marginTop = imgMarginTop;
 +
 +
}
  
 
</body>
 
</body>
 
</html>
 
</html>
 
{{Team:Tokyo_Tech/template2016}}
 
{{Team:Tokyo_Tech/template2016}}

Revision as of 21:38, 18 October 2016