Say I have a parent div with three child divs. Is there a way that I can position everything in the bottom right corner? Something like this:
--------------------------------------
| |
| |
| |
| |
| |
| test1 test2 test3|
|------------------------------------|
I tried this css:
#header
{
position:relative;
}
#nav_tabs
{
position:relative;
width:50%;
height:100%;
float:right;
}
.tab
{
position:absolute;
bottom:0px;
float:right;
}
With this HTML:
<div id="header">
<div id="nav_tabs">
<div class="tab">test1</div>
<div class="tab">test2</div>
<div class="tab">test3</div>
</div>
</div>
But it looks like it is stacking my tabs one on top of the other. What is the correct way to do this?
Do this.
Check working example at http://jsfiddle.net/qpHNN/2/