Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/11/2008, 21:32
sergiopdlt
 
Fecha de Ingreso: noviembre-2008
Mensajes: 25
Antigüedad: 15 años, 6 meses
Puntos: 0
Compatibilidad entre Mozilla e Internet Explorer

Hola cómo les va, ojalá alguien pueda ayudarme.
Cómo puedo hacer para que este código que funciona muy bien en Mozilla, funciones también en Internet Explorer.
Muchas gracias

Código:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="AuxFiles/cssfile.css" />
<title>Tp2 d'IFT1144, numero 1</title>
</head>

<!--XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X-->
<body>
<script type="" language="javascript">
const n = 10;
//****************************************
function rand ( n )
{
return(Math.floor(Math.random()*n));
}
//****************************************
</script>
<!--XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXX-->

<h1>Tirage de la Quotidienne 3 chiffres</h1>

<table align="center" border="10">
<tr>
<td>
<script type="">
document.write(rand(n));
</script>
</td>
<td>
<script type="">
document.write(rand(n));
</script>
</td>
<td>
<script type="">
document.write(rand(n));
</script>
</td>
</tr>
</table>

<!--XXXXXXXXXXXXXXXXXXXXXXXXXXXX-->
<table align="center" border="0">
<tr>
<td class="one">
<form method="post" action="">
<input type="button" value="Nouveau Tirage" onclick="location.reload()" />
</form>
</td>
</tr>
</table>

<!--XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX-->
&nbsp;<br/>
&nbsp;<br/>
&nbsp;<br/>
&nbsp;<br/>
&nbsp;<br/>
&nbsp;<br/>

<hr />
<table style="border:0;width:100%">
<tr>
<td style="width:15%; text-align:left">
<a href="http://validator.w3.org/check/referer">
<img src="http://validator.w3.org/images/vxhtml10" alt="valid xhtml!" /> </a>
</td>
<td style="width:15%; text-align:right">
<a href="http://jigsaw.w3.org/css-validator/">
<img src="http://validator.w3.org/images/vcss" alt="Valid CSS!" />

</a>
</td>
</tr>
</table>
</body>
</html>