Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
403 views
in Q2A Core by
When a page is not long enough, it becomes unsighly as the footer comes up to the middle of the screen. What is a CSS hack to prevent this and keep the footer stuck to the bottom, in effect, creating a minimum page length?

2 Answers

0 votes
by

you can use this css 

 

.qa-main {
  1. min-height: 400px;
  2. }
0 votes
by

This required to modify stylesheet and may be HTML as well.

See this tutorial http://ryanfait.com/resources/footer-stick-to-bottom-of-page/

If you want to fix the footer at the bottom than you can use position:fixed property for the footer

...