0
I have a DIV with height:auto; which does not adjust the height according to an internal div with height:120px;
See the CSS
.conteudo-modelo-3-0 {
width:960px;
height:auto;
margin: 0 auto;
}
.conteudo-modelo-3-1{
position:relative;
width:840px;
height:120px;
float:right;
background-color:#666666;
}
THE DIV Content-model-3-0 does not readjust according to the time of Content-model-3-1.
What do I do to fix it?
It’s not easier to use one
overflow: auto
?.clearfix
is a lot overrated but to solve most of it only with overflow.– VitorLuizC