Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sticky Footer in Skeleton based Website

I am trying to add a "sticky footer" to my web site based on skeleton but I can't get it to work correctly. I am doing this based on the instruction on this website: http://www.cssstickyfooter.com/using-sticky-footer-code.html. In Chrome I get an extra pixel or two in the height of the page which result in a vertical scrollbar and in IE the main container becomes left-aligned.

Any idea how I should implement this properly based on Skeleton? Thank you Dave for the great work!

like image 957
Usman Sher Avatar asked Nov 23 '25 07:11

Usman Sher


1 Answers

I've developed a dead-simple pure-CSS solution to this now, located here. The solution is based on Skeleton 2.0.4 and basically consists of creating two separate skeleton containers/rowstacks: One for the header/body, another for the sticky footer.

like image 108
Mahmoud Hashemi Avatar answered Nov 25 '25 22:11

Mahmoud Hashemi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!