jquery sticky footer


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. if($('body').height() < $(window).height()){
  2. $("#footer").css({position: "absolute",top:($(window).height()-$("#footer").height())+"px", width: "100%"})
  3. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.