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


You need to login to view comments.