I found this useful script for setting equal column height for divs.
But is dosnt account for the padding inside the divs.
Does anybody know how to make it calculate the toal height including the padding from the heighest column?
Or does anybody have a script that they have used for at simular setup?
$('#leftcolumn, #content').equalizeHeights();
(function($){
$.fn.equalizeHeights = function(){
return this.height(
Math.max.apply(this,
$(this).map(function(i,e){
return $(e).height()
}).get()
)
)
}
})(jQuery);