Ver Mensaje Individual
  #6 (permalink)  
Antiguo 07/07/2006, 07:44
all-ill
 
Fecha de Ingreso: junio-2002
Mensajes: 750
Antigüedad: 21 años, 9 meses
Puntos: 22
Debe funcionar tal y como te han dicho, a no ser que no entendamos bien lo que necesitas.

Código HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Documento sin t&iacute;tulo</title>
<style>
div#centrame-horizontalmente {background:#ccc; width:780px; margin:0 auto;}
</style>
</head>

<body>
<div id="centrame-horizontalmente">
¿estoy o no centrada horizontalmente? debería estar centrada la capa, el texto si se quiere
</div>
</body>
</html>