Tema: resolución
Ver Mensaje Individual
  #7 (permalink)  
Antiguo 19/03/2005, 14:15
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 2 meses
Puntos: 772
Hola walterronny

Para centrar una tabla puedes usar estilos:
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>

<
html>
<
head>
</
head>
<
body>
<
table style="width:80%;margin:auto">
<
tr>
<
td>Celda</td>
</
tr>
</
table>
<
div style="width:80%;margin:auto">
Capa
</div>
</
body>
</
html
En el ejemplo te he puesto un div, porque otra opción puede ser meter el contenido de tu página dentro y así también saldrá centrado.

Saludos,

Última edición por JavierB; 20/03/2005 a las 10:09