Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/03/2003, 07:39
chivi
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 889
Antigüedad: 22 años, 3 meses
Puntos: 4
Buenas que tal.

Te dejo un código de KarlanKas:


<html>
<head>
<script>
function aleatorio(){
var r=Math.random()*255;
var g=Math.random()*255;
var b=Math.random()*255;
var colorTabla="RGB("+r+","+b+","+g+")";
tabla.style.background=colorTabla;}
</script>
</head>
<body onload="aleatorio()">
<table id="tabla">
<tr>
<td><b>
HOLA</b>
</td>
</tr>
</table>
</body>
</hmtl>

Saludos!