Hello, here is a problem I’m always struggling with.
Say I have a page with a header on the top and a footer at the bottom, both with specified height. Between the header and footer is a container for the page content. What I want to achieve is to, without using javascript, have the container stretched vertically to fill the space between the header and footer if the content of the container is shorter than the window height minus the header and footer. That is, to have the min-height of the container always be the height of the space between the header and footer (it would grow or shrink along with the window resizing). Of course, if the height of the container is taller than the window height minus the header and footer, the footer should be pushed off the bottom of the window (and the page will be scrollable vertically).