I have 3 div's and div2 must have dynamic content (growing as content is inserted into it), div1 must match the growth of div2. How can I do this?
<div id="divPrincipal">
<div id="div1" style="width:20%; background-color:gray;"></div>
<div id="div2" style="width:80%"> Conteúdo dinâmico ... </div>
</div>
Does anyone have an idea?