Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/09/2010, 10:19
Avatar de juan_14nob
juan_14nob
 
Fecha de Ingreso: abril-2010
Mensajes: 552
Antigüedad: 14 años
Puntos: 6
Respuesta: Organizar cuadros en CSS

por que no pones como tiene ingresados los divs?
a ver si esto te es de ayuda...

Código HTML:
<html>
<head>
<style type="text/css">
html{
width:100%;
height:100%;
}
#cuerpo{

margin:0px;
padding:0px;

}
#uno{
position:relative;
float:left;
width:200px;
height:200px;
background:red;

}
#dos{
position:relative;
float:left;
width:200px;
height:200px;
background:blue;
margin-left:10px;

}
#tres{

position:relative;
clear:both;
width:200px;
height:200px;
background:black;
top:10px;
color:white;
float:left;
}

#cuatro{
position:relative;
float:left;
width:200px;
height:200px;
background:green;
margin-left:10px;
margin-top:10px;
}
</style>
</head>

<body>
<div id="cuerpo">
<div id="uno">
div1

</div>
<div id="dos">
div2

</div>
<div id="tres">
div3

</div>
<div id="cuatro" style="">
div4

</div>


</div>
</body>

</html>