A fix to 100% height DIV, similar to table layout.
I have a question here for those who know about CSS layouts very well. I've done some searches on the net and find that people still can't find a solution for a DIV that:
- stretch to 100% of the page height when the content height is less than 100%.
- expand to fit the contents when the contents height is more than 100% of the page.
This pretty much works the same as the old table layout. I just need to ask is there already a solution to this problem?