Como puedo alinear el contenido de la pagina horizontal y verticalmente? horizontal es facil pero vertical la cosa cambia si alguien me ayudara estaria muy agradecido
0
Puntos
919
Visitas
1
Resp
Por enrikflow hace 12 años
Novice
Respuesta #1
buenas, una buena manera de hacerlo es así :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
</head>

<body>
<table width="100%" height="100%" border="0">
  <tr>
    <td align="center" valign="middle" ><div style="width:400px; height:200px; background:#0CF">Colocar aquí el contenido de la nueva etiqueta Div</div></td>
  </tr>
</table>
</body>
</html>
no olvides utilizar ese Doctype ya que si no, no quedara así
0
Puntos
Por zeuskx hace 12 años
Mods
Para comentar Inicia sesión o Regístrate
Phpres 2025@ All rights reserved.
Utilizamos cookies para mejorar la navegación en el sitio. Más información Aceptar