1/* Position inside div at the bottom of containing (outside) div */
2
3<style>
4.outside {
5 position: relative;
6 width: 200px;
7 height: 200px;
8 background-color: #EEE; /*to make it visible*/
9}
10.inside {
11 position: absolute;
12 bottom: 2px;
13}
14</style>
15<div class="outside">
16 <div class="inside">inside</div>
17</div>
1<style>
2 #footer{
3 position:fixed;
4 bottom:0px;
5 }
6</style>
7
8<div id="footer">Footer</div>