jQuery Plugins

Setting Equal Heights with jQuery

Creating the visual effect of equal-height columns or content boxes has been a challenge ever since we abandoned table-based layouts. When developing complex web applications or site designs we've found that it often makes the most sense from a usability and performance standpoint to use a simple JavaScript workaround: our equalHeights() function determines the heights of all sibling elements in a container, and then sets each element's minimum height to that of the tallest element. When JavaScript is disabled, the boxes or columns appear with varying heights, but the content remains legible and the page is still completely usable.

Setting Equal Heights with jQuery

Plugin Information

Homepage:
http://www.filamentgroup.com/lab/setting_equal_heights_with_jq...
Filed in:
Author:
Scott Jehl, Todd Parker, Maggie Costello Wachs
Date Added:
May 29th, 2009
Recommended for:
  • 1.2.x

Related jQuery Plugins

 

Share this jQuery Plugin

© 2007 - 2012 Plugins, Extensions & Tutorials by jQuery Plugins. We love jQuery.