Ver Mensaje Individual
  #9 (permalink)  
Antiguo 12/07/2009, 14:02
jalex16
 
Fecha de Ingreso: octubre-2006
Mensajes: 562
Antigüedad: 17 años, 6 meses
Puntos: 12
Respuesta: Centrado página

Cita:
Iniciado por truskyvb Ver Mensaje
Antes me preguntasteis: Centrado horizontal.

He puesto lo que me decis pero no me va, lo siento. Algo hago mal, o coloco mal alguna parte del código.

</html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</head>


<div style="width: 500px; margin: 0 auto; background:#CCC;"> contenido.contenedor {width: /*valor inferior al 100% de la ventana*/; margin: 0 auto; }

<body bgcolor="#FFFFFF" text="#000000">
<div id="Layer1" style="position:absolute; width:57px; height:72px; z-index:1; left: 21px; top: 88px"><img src="truskybaul/1f4d1s2d3o0t1g2j5g4j7d7m8n8b5bo.GIF" width="131" height="137"></div>
<div id="Layer2" style="position:absolute; width:200px; height:115px; z-index:2; left: 554px; top: 307px"><img src="truskybaul/0f2g5o0f2f3c6v0l0c1f5p5d0f2o6d5f9.GIF" width="218" height="120"></div>
</div>

</body>
uyyy el BODY dentro de un DIV. plop eso pasa por usar Dreamweaver