Is there a way to place a div at the bottom of its containing div?
<style>
.outside {
width: 200px;
height: 200px;
background-color: #EEE; /*for visibility*/
}
.inside {
position: absolute;
bottom: 2px;
}
</style>
<div class="outside">
<div class="inside">inside</div>
</div>
This code positions the text "inside" at the bottom of the container.