1
Well I created a main div to hold all the elements of the page. Inside it I have 3 others 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 don’t know the solution.
I would like to get a solution based only on HTML/CSS preferably without using absolute positioning.
Following is a visual example of what I want to do: https://jsfiddle.net/m17wuaLc/2/
You can add an example of use to the answer?
– user28595
Yes, of course. But the link has the full details.
– Vinicius Dutra
It is because response with links are just not within the type of response that the site accepts as positive. To serve as a reference in the future, if this link no longer exists, it would be interesting to have an example of use in the answer too.
– user28595
All right, example included.
– Vinicius Dutra
I found this technique very interesting, but what I am doing here does not have a fixed footer, is a layout that resembles an application
– Adriano Luz