I have a problem that I think is easy, but I can not figure out how to solve it.
I have a structure of type:
<div class="conteudo">
<div class="esquerda">
</div>
<div class="direita">
</div>
<div class="clear">
</div>
</div>
Well, CSS is very simple, the left class has float: left, right has float: right, and a clear o clear: both;
So the problem is, the content of the divs, actually the right one, is dynamic, so what happens is that the left div does not match the height of the right one, and the background that I apply is only at the time occupied by the contents of the left div, leaving the layout totally wrong.Would anyone know a solution to this? It seems to me that you have to resort to js for this?