I’m using css sticky footer from http://www.cssstickyfooter.com/
Why do we need: #main{overflow:auto;} and #footer{position: relative;}?
Seems like it works without it (I’m not talking about Opera and IE fixes).
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
overflow:auto;will simply add the scroll bar if the page is longer than what can be displayed based on your screen height. I’ve used it before and believe it ensures your footer stays visible at the bottom of the page when you scroll.Have you tried it on a page that is longer than the screen can display to see how it behaves?
Quote from cssstickyfooter.com: