Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/01/2012, 09:12
Avatar de silvia_net
silvia_net
 
Fecha de Ingreso: enero-2012
Mensajes: 31
Antigüedad: 12 años, 3 meses
Puntos: 0
Como consigo esta estructura de capas?

Quiero conseguir mediante CSS una estructura tal que así:



El codigo que tengo es este:

Código PHP:
<div class='tarea'>
    <
div class='titulo_tarea'>
                
    </
div>
                
    <
div class='fecha_anadida_tarea'>
                
    </
div>
                
    <
div class='fecha_entrega_tarea'>
                
    </
div>
                
    <
div class='ver_tarea'>
                
    </
div>
</
div
Y el CSS:

Código PHP:
.tarea{
    
marginauto;
    
width950px;
    
height:100px;
    
border1px solid #CCC;
    
margin-bottom20px;
    
background-colorwhite;
    
padding-top0px;
    
padding-left15px;
    
padding-right15px;
    
padding-bottom10px;
    
text-alignjustify;
    
    -
moz-border-radius6px;
    -
webkit-border-radius6px;
    
border-radius6px;
}

.
titulo_tarea{
    
height100px;
    
background-colorred;
    
width700px;
    
floatleft;
}

.
fecha_anadida_tarea{
    
height50px;
    
background-colorgreen;
    
width120px;
    
float:left;
}

.
fecha_entrega_tarea{
    
height50px;
    
background-colorblue;
    
width120px;
    
float:left;    
}

.
ver_tarea{
    
height100px;
    
width100px;
    
background-coloryellow;