Skip to main content
Home / Code Snippets / jQuery Code Snippets / Equalize Heights of Divs
var maxHeight = 0;

$("div").each(function(){
   if ($(this).height() > maxHeight) { maxHeight = $(this).height(); }
});

$("div").height(maxHeight);