This link has been bookmarked by 22 people . It was first bookmarked on 26 Jul 2008, by springmile.
-
-
Setting Equal Heights with jQuery
-
-
Lindsay Donaghe"We wrote a script to "equalize" the heights of boxes within the same container and create a tidy grid — with little overhead.
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." -
Chris NewtonCreating 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.
-
Johann RichardWe wrote a script to "equalize" the heights of boxes within the same container and create a tidy grid — with little overhead.
-
Bob PotterWe wrote a script to "equalize" the heights of boxes within the same container and create a tidy grid — with little overhead.
-
Gary BurgeWe wrote a script to "equalize" the heights of boxes within the same container and create a tidy grid — with little overhead
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.