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
Puntos
919
Visitas
Visitas
1
Resp
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
Puntos
Por zeuskx hace 12 años
Mods