How to stick footer to bottom of screen and prevent middle section extending below footer?
问题 I've been trying to set three columns to 100% height of a main content area with a header and footer on the top and bottom. The desired behavior is: When the content does not take up the screen, the footer is at the bottom of the screen, and the middle area stretches to fill the middle space. When the content takes up more than the screen, the footer is at the bottom of the content, not the screen. I ended up going with the table and table-cell solution, but the middle section extends below