Ver Mensaje Individual
  #12  
Antiguo 16-05-2006
Avatar de seoane
[seoane] seoane is offline
Miembro Premium
 
Registrado: feb 2004
Ubicación: A Coruña, España
Posts: 3.717
Reputación: 24
seoane Va por buen camino
Con la prisa no se me ocurrio probarlo en otro navegador y eso que yo uso opera normalmente, pero no pasa nada faltaba por añadir un style. Bueno, la cosa queda asi:

Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html style="height: 100%">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Prueba</title>
  </head>
  <body style="height: 100%">
    <table style="height: 100%" width="639" border="1">
      <tr>
        <td>Prueba</td>
      </tr>
    </table>
  </body>
</html>
No tengo el Firefox para probarlo, pero en el opera si que ya se ve correctamente. Pruebalo haber que tal


Edito:

Si queremos que siga pasando la validacion de http://validator.w3.org/ la propiedad style no se puede usar dentro de la etiqueta html. Asi que podemos usar algo como esto:

Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Prueba</title>
    <style type="text/css">
      html, body
      {
	height:100%;
      } 
    </style>
  </head>
  <body>
    <table style="height: 100%" width="639" border="1">
      <tr>
        <td>Prueba</td>
      </tr>
    </table>
  </body>
</html>

Última edición por seoane fecha: 16-05-2006 a las 21:09:31.
Responder Con Cita