Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/02/2012, 00:12
el_chivoregresa
 
Fecha de Ingreso: febrero-2012
Mensajes: 84
Antigüedad: 12 años, 1 mes
Puntos: 3
Respuesta: juego de la culebrita (snake)

esto es lo que le sigue despues d script por que no calzaba todo el texto:



<style type="text/css">
.board{
width: 399px;
background-color: lightgrey;
border: 1px solid gray;
position: relative;
margin-left: 0;
margin-top: 0;
}
#board{
height: 399px;
border-bottom: 0px;
}
#apple{
position: absolute;
background-color: red;
height: 7px;
width: 7px;
overflow: hidden;
}
.snake{
position: absolute;
top: 200px;
left: 200px;
background-color: black;
height: 7px;
width: 7px;
overflow: hidden;
}
.snake2{
position: absolute;
top: -10px;
left: -10px;
background-color: black;
height: 7px;
width: 7px;
overflow: hidden;
}
#score{
height: 50px;
margin-top: 0px;
}
#cscore{
color: black;
padding-left: 10px;
float: left;
width: 25%;
font-size: xx-large;
}
#buttons{
float: right;
width: 50%;
text-align: right;
padding-top: 10px;
}
#notice{
position: absolute;
top: 1em;
left: 1em;
right: 1em;
text-align: center;
font-size: 150%;
}
#i2{
position: absolute;
bottom: 1em;
left: 1em;
right: 1em;
text-align: center;
font-size: 95%;
}
</style>

</head>

<body>

<p align="left"><strong>Demo:</strong></p>
<p align="left"><!--webbot bot="HTMLMarkup" startspan --><script type="text/javascript">
var snake = new cbsnake();
</script><!--webbot bot="HTMLMarkup" endspan i-checksum="40903" --></p>

</body>