Faire déborder un div via un autre div
Bonsoir à tous,
Bon je reconnais que le titre n'est pas très clair, alors une image valant mieux qu'un long discours :
http://stephane.deplat.free.fr/screenshot.png
Je voudrais que les "titi" provoque l'agrandissement (le débordement) du calque "toto"... C'est possible ?
Voila le code actuel html :
Code:
1 2 3 4 5 6 7 8 9 10
| <div id="main_center_calque">
toto</BR>
toto</BR>
<div id="info">
titi</BR>
titi</BR>
titi</BR>
titi</BR>
</div>
</div> |
et le piti css qui va avec :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| body {
background-color: #161531;
margin: 0px;
}
#main_center_calque{
z-index:0;
position:relative;
margin-left: auto;
margin-right: auto;
width: 300px;
visibility: visible;
color: #FFFFFF;
background-color: #00CC00;
overflow: visible;
}
#info{
z-index:1;
position:absolute;
width: 100px;
left: 50px;
top: 10px;
visibility: visible;
color: #FFFFFF;
background-color: #31306B;
overflow: visible;
} |
Merci d'avance !