Ver Mensaje Individual
  #6 (permalink)  
Antiguo 26/04/2010, 20:20
Asccort
 
Fecha de Ingreso: enero-2009
Mensajes: 16
Antigüedad: 15 años, 2 meses
Puntos: 0
Respuesta: Problemas con tamaños de div's

No se entiende muy bien lo que deseas pero a la rapida puedes lograr 3 columnas asi.

Código HTML:
<html>
<head>
<title>css</title>
<style type="text/css">
html{height:100%}
body {
	height:100%;
	margin:0px;
	text-align: center;
}
#contenedor{
	height:100%;
	text-align: left;
	background-color: 222;
	width: 900px;
	margin: auto;
}
#lateral{
	height:100%;
   width: 150px;
   float:left;
   background-color: red;
}
#principal{
	height:100%;
   width: 488px;  
   float: left;
   background:#999;
}

#otrolado{
	height:100%;
	width: 260px;
	float: left;
	padding: 0px;
	background:#666;
}
#pie{
   background-color: #cccccc;
   padding: 3 10 3 10px;
   text-align:right;
   clear: both;
}

</style>
</head>
<body>
<div id="contenedor"> 
    <div id="lateral">TEXTO</div> 
      <div id="principal"> TEXTO TEXTO TEXTO TEXTO TEXTO TEXTO TEXTO TEXTO TEXTO 
        TEXTO TEXTO TEXTO TEXTO TEXTO TEXTO TEXTO TEXTO TEXTO TEXTO TEXTO TEXTO 
      </div>
      <div id="otrolado">TEXTO</div>
  <div id="pie"> PIE </div>
</div>
</body>
</html>