|
You're right. It involves positioning and the bottom property. This is easy to do, but there's more than one way to achieve this, which depends on how you set up your layout.
If you want the container div to stay in the normal flow of the page or have it's presence known by the surrounding elements, then you'll want to add on the outer div: position:relative;. Then on the inner div: position:absolute;left:0;bottom:0.
The other way is the same except you'd change the outer div from position:relative to position:absolute, and then the top and left to the actual position you want it from it's parent container which will be the whole window if it's not inside any other positioned parent. Which means it has to have a position explicitly applied to it other than the default static position.
If you used position:absolute to position lots of elements in your layout then you'd most likely want to go with the second solution, otherwise you'd probably want to go with the first one.
Last edited by SillyWilly; 02-26-2008 at 09:00 AM..
|