Skip to content

Instantly share code, notes, and snippets.

@jimmynotjim
Created August 8, 2012 02:15
Show Gist options
  • Save jimmynotjim/3291471 to your computer and use it in GitHub Desktop.
Save jimmynotjim/3291471 to your computer and use it in GitHub Desktop.
Another equal height columns script
// equalize height for content area with sidebar
var equalize = Math.max(
$('.main').height(),
$('.sidebar').height()
);
$('.content').height(equalize);
@germanny
Copy link

So far, this one seems to be the most reliable (at least for what I'm working on):

http://www.broken-links.com/2009/01/20/very-quick-equal-height-columns-in-jquery/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment