Difference between CSS sticky footer implementations?
问题 I've found 2 different implementations of a CSS sticky footer: Ryan Fait sticky footer - http://ryanfait.com/sticky-footer/ Steve Hatcher sticky footer - http://www.cssstickyfooter.com/ Could someone explain the difference between how each of them work? And if there are other known implementations, could you please post a comment or edit this question? 回答1: They are pretty similar in terms of function. The first forces a div to the full height of the page and then give it a negative margin