Pasa lo que me temía, que las capas div siguen ceñiditas a la izquierda. Ya sé que este no es el foro de CSS pero es por no perder el hilo: Te escribo los estilos asignados a la etiqueta body:
Código:
body{
width:800px;
margin-left:auto;
margin-top: 0px;
margin-bottom:0px;
margin-right:auto;
background-color:#000000;
}
y estas son mis tres columnas:
Código:
#lateralizq{
font-family:Georgia, Verdana, Times, serif;
background-color:#99CCCC;
color:#666666;
float:left;
width:163px;
margin: 0px;
padding: 5px;
font-size: small;
border-bottom-color: #555555;
border-bottom-style: solid;
border-bottom-width: 1px;
border-right-color: #555555;
border-right-style: solid;
border-right-width: 1px;
}
#principal{
background-color:#EEEEEE;
color:#666666;
width:450px;
float:left;
}
#lateralder{
font-family:Georgia, Verdana, Times, serif;
background-color:#99CCCC;
color:#666666;
float:right;
width:163px;
padding: 12px;
font-size: small;
border-bottom-color: #555555;
border-bottom-style: solid;
border-bottom-width: 1px;
border-left-color: #555555;
border-left-style: solid;
border-left-width: 1px;
padding-top: 10px;
}
Si quitase las propiedades float, las tres columnas me dejarían de estar una al lado de la otra no?