If in content is too small in pages then it look odd . to show some space to make looks good which method would be better.
min-height to #main-content or sticky footer, which is preferred idea?
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.
Depends on your audience and content. min-height isn’t fully supported by all browsers, but there are ways around that.
The bottom line is that you need to make your website work for your content, not the other way around. If certain pages don’t have very much content, you should consider consolidating pages or coming up with more creative ways to display the content.
To bluntly answer your question, a sticky footer unnecessarily takes up valuable screen real estate. Unless there is important content in your footer, I would apply a min-height your #main-content.