Ver Mensaje Individual
  #15 (permalink)  
Antiguo 06/09/2005, 08:56
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 1 mes
Puntos: 772
Hola a todos.

Me ha sorprendido mucho lo del innerHTML en Firefox, así que he hecho una página muy sencilla, que pasa la validación estricta y funciona sin ningún problema:
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
>
    
<
html>
<
head>
<
title>Untitled</title>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</
head>
<
body onload "document.getElementById('pepe').innerHTML = 'Hola Don Pepito'">
<
div id="pepe"></div>
</
body>
</
html
Saludos,