How to stick the basement to the bottom of the screen , not the page, because everywhere I can only see how everyone writes that you need to write margin-top: -50px;
but it only lowers the footer to the bottom of the page , not the screen . But I need to, if the information is small, the basement would be downstairs, and as the information is already larger than the screen, then it moved along the page height.
What the basement looks like now:
CSS code of the footer:
#foot { background-color: green; border-radius: 5px; clear: both; height: 35px; margin: -50px auto 0px; position: relative; }