Tema: Maquetar CSS
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/07/2008, 11:05
Jamati
 
Fecha de Ingreso: febrero-2008
Mensajes: 578
Antigüedad: 16 años, 2 meses
Puntos: 3
Respuesta: Maquetar CSS

Una estructura podría ser:

Código HTML:
<html>
<head>
</head>
<body>
<div class="prin">
  <div class="centro">
    <div class="izq"></div>
    <div class="cen"></div>
    <div class="der"></div>
    <div class="clear"></div>
  </div>
</div>
</body>
</html> 
y el CSS podés poner:

Código HTML:
div.prin {width:700px;}
div.centro {width:100%;}
div.izq {width:100px;float:left;position:relative;}
div.cen    {width:500px;float:left;position:relative;overflow:hidden;}
div.der   {width:100px;float:right;position:relative;overflow:hidden;}
div.clear {clear:both;}
obviamente tendrías que hacer ajustes, pero basicamente lo podrías hacer así como te dije.