Ver Mensaje Individual
  #9 (permalink)  
Antiguo 10/12/2009, 12:13
shadownitro
 
Fecha de Ingreso: diciembre-2009
Mensajes: 5
Antigüedad: 14 años, 4 meses
Puntos: 0
Respuesta: Problema de centrado ( y busque mucho en google)

Gracias por las respuestas.

disculpen mi ignorancia con respecto al tema, soy nuevo en el campo, por otro lado estube leyendo muchos topics del foro, y encontre que se plantea la misma problematica que la mia.
acabo de poner los divs dentro del <body> y el # en el css, pero sigue igual.
te muestro el codigo asi me decis que es lo que estoy haciendo mal.:
Código HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"3.org/TR/html4/loose.dtd"> 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>INGEMIX</title>
<script language="JavaScript" type="text/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>
<style type="text/css">
[B]#principal{widht:1000px; margin:0px auto;}[/B]
</style>
</head>
<body>
[B]<div id="principal">[/B]
<div id="Layer2" style="position:absolute; left:0px; top:13px; width:234px; height:194px; z-index:2"><img src="ingemix%20logo.jpg" width="220" height="181"></div>
<div id="Layer1" style="position:absolute; left:-2px; top:241px; width:995px; height:11px; z-index:3; background-color: #DA251C; layer-background-color: #DA251C; border: 1px none #000000; visibility: visible;"></div>
<div id="Layer1" style="position:absolute; left:227px; top:-24px; width:722px; height:257px; z-index:1; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000; overflow: visible; visibility: visible;">
[B]( Todas las demas layers y etc )[/B]
[B]</div>[/B]
</body>
</html>