Ver Mensaje Individual
  #12 (permalink)  
Antiguo 19/11/2008, 12:55
Avatar de willyfc
willyfc
 
Fecha de Ingreso: octubre-2008
Ubicación: Santa Cruz - Bolivia
Mensajes: 662
Antigüedad: 15 años, 6 meses
Puntos: 40
Respuesta: la web no se centra

mira digamos que tu contenedor central (el que mostrará el contenido, menus laterales, etc), tiene un ancho de 800px; como tu lo tienes entonces iría así:

Código:
#global{
width : 800px;
height : auto;
margin : 0 auto;
background-color:#CCC;
display : table;}
#col1{
width : 200px;
height : auto;
float:left;
}
#col2{
width : 400px;
height : auto;
float:left;
}
#col3{
width : 200px;
height : auto;
float:left;
}
y el html

Código HTML:
<div id="global">
     <div id="col1">menu lateral</div>
     <div id="col2">contenido</div>
     <div id="col3">menu lateral</div>
</div> 
este ejemplo es parecido a tu estructura