Ver Mensaje Individual
  #7 (permalink)  
Antiguo 13/10/2008, 16:43
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Respuesta: Centrate pagina jejejejej!!! S.O.S

No, de hecho es seguro que no funcionará (talmente ha debido entender que hablaba de centrado horizontal).

Si quieres conservar tu doctype y centrar la tabla verticalmente prueba con esto:

Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Tablas</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
html, body {height: 100%;margin: 0;}

table {
width: 100%;
margin-right: auto;
margin-left: auto;
background: #006633;
height:100%;
}
#dentro {
width: 90%;
background: #0099FF;
margin-right: auto;
margin-left: auto;
height:50%;
}
</style>
</head>
<body>
<table border="1">
<tbody>
<tr>
<td><table border="1" id="dentro">
<tbody>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html>
__________________
Visita mi nueva web idplus.org