Difference between revisions of "Team:Freiburg/pong"
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Freiburg/CSS}} | ||
+ | {{Freiburg/Menubar}} | ||
+ | |||
<html> | <html> | ||
− | |||
− | |||
<style> | <style> | ||
− | + | #canvas_wrap{ | |
− | #pong_canvasObject { | + | width:100%; |
− | + | display: block; | |
− | + | margin:auto; | |
− | + | } | |
+ | #pong_canvasObject{ | ||
+ | z-index:9999; | ||
+ | margin: auto; | ||
+ | display:block; | ||
} | } | ||
</style> | </style> | ||
+ | |||
+ | |||
+ | <head> | ||
+ | <meta charset="utf-8" /> | ||
+ | |||
<script type="text/javascript" src="https://2015.igem.org/Template:Freiburg/pong_js? | <script type="text/javascript" src="https://2015.igem.org/Template:Freiburg/pong_js? | ||
Line 17: | Line 27: | ||
<body onLoad="pong_preload();"> | <body onLoad="pong_preload();"> | ||
− | + | <div class="content_box"> | |
− | <div class="content_box"> | + | <div id=canvas_wrap> |
− | + | <canvas id="pong_canvasObject" width="675" height="400"></canvas> | |
− | <canvas id="pong_canvasObject"></canvas> | + | </div> |
− | + | ||
</div> | </div> | ||
− | |||
− | |||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 20:35, 4 September 2015