I am currently working on a webpage at . I have set the body and html to 100% height, as well as #site_main with a height of 100%. However, I am facing an issue where the #footer is not sticking to the bottom on screens with higher resolutions, leaving some space. How can I ensure that the body and site_main fill the entire height of the screen so that the #footer stays at the bottom regardless of the page's height in pixels?
I want to achieve this without using the fixed
property. The footer should only be displayed when the page is scrolled down far enough.