1
I’m using the solution Ryan Fait’s Stick Footer, but wanted to make it more dynamic using Javascript, allowing the footer height to automatically calculate the other values of the CSS properties of the other elements. Can be included inline even.
So far I’ve got something like what I want in jQuery. Can someone give me a hand?
Detail, I replaced the .wrapper of Ryan’s solution by #content in my code.
$(function(){
var footerHeight = $(".footer").height();
$("#content").css("margin-bottom", -footerHeight);
$(".push").css("height", footerHeight);
});
You want to get color values and backgrounds or just height/width?
– lfarroco