I've created a main div to hold all elements of the page. Inside it I have 3 other divs
: 1 menu bar, 1 sidebar, 1 content area.
HTML:
<div class="principal">
<div class="barra_menu">
Barra de menu
</div>
<div class="menu_lateral">
<!--Como se estende esse div até o fim da página/elemento pai-->
Menu lateral:<br>.<br>.<br>.
</div>
<div class="area_conteudo">
Area de conteudo:<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.
</div>
</div>
CSS:
.principal{background-color:red;height:100%;}
.barra_menu{background-color:gray;widht:100%;}
.menu_lateral{background-color:blue;width:30%;float:left;}
.area_conteudo{background-color:green;width:70%;float:left;}
I want the side menu to extend from where it is to the bottom of the page, but I do not know the solution.
I would like to get a solution based on HTML / CSS only without using absolute positioning.
Here is a visual example of what I want to do: link