Skip to content

Instantly share code, notes, and snippets.

@jlittlejohn
Created December 13, 2012 21:30
Show Gist options
  • Save jlittlejohn/4280134 to your computer and use it in GitHub Desktop.
Save jlittlejohn/4280134 to your computer and use it in GitHub Desktop.
JS: Equal Column Heights
var maxheight = 0;
$("div.col").each(function(){
if($(this).height() > maxheight) { maxheight = $(this).height(); }
});
$("div.col").height(maxheight);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment