/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if($('body').height() < $(window).height()){ $("#footer").css({position: "absolute",top:($(window).height()-$("#footer").height())+"px", width: "100%"}) }