Difference between revisions of "Team:Freiburg/pong"
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Freiburg/CSS}} | ||
+ | {{Freiburg/Menubar}} | ||
+ | |||
<html> | <html> | ||
<style> | <style> | ||
+ | #canvas_wrap{ | ||
+ | width:100%; | ||
+ | display: block; | ||
+ | margin:auto; | ||
+ | } | ||
#pong_canvasObject{ | #pong_canvasObject{ | ||
− | + | z-index:9999; | |
+ | margin: auto; | ||
+ | display:block; | ||
} | } | ||
+ | |||
</style> | </style> | ||
Line 16: | Line 27: | ||
<body onLoad="pong_preload();"> | <body onLoad="pong_preload();"> | ||
− | + | <div class="content_box"> | |
− | + | <div id=canvas_wrap> | |
<canvas id="pong_canvasObject" width="675" height="400"></canvas> | <canvas id="pong_canvasObject" width="675" height="400"></canvas> | ||
− | + | </div> | |
− | + | </div> | |
</body> | </body> | ||
</html> | </html> |
Latest revision as of 20:35, 4 September 2015