I have an outer div with max-height of 800px.
Within that I could have one or two divs (depends of results from mysql query), the second of which should always be fixed to the bottom of its parent. I can do this with absolute positioning but how do i resize the first child to take the second absolutely positioned div into account?
If only one div is created then I want it to take up the full height of its parent.
Any ideas on how to do this.
Please help!