Difference between revisions of "Team:Freiburg/pong"

 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Freiburg/CSS}}
 +
{{Freiburg/Menubar}}
 +
 
<html>
 
<html>
<head>
 
<meta charset="utf-8" />
 
 
<style>
 
<style>
 
+
#canvas_wrap{
#pong_canvasObject {
+
width:100%;
    background-color: #008000;
+
display: block;
    width: 675px;
+
margin:auto;
    height: 400px;
+
}
 +
#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 id=canvas_wrap>
<canvas id="pong_canvasObject"></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

""