public marks

PUBLIC MARKS from camel with tags plugin & column

16 October 2008 15:45

Setting Equal Heights with jQuery | Filament Group, Inc.

by 5 others (via)
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.

camel's TAGS related to tag plugin

admin +   ajax +   animation +   blog +   blogmarks.net +   box +   class +   code +   color picker +   column +   commerce +   convert +   corner +   crop +   crossslide +   css +   data +   date +   design +   diagramme +   dimensions +   dom +   e-commerce +   editor +   effect +   email +   equal +   facebook +   file +   firefox +   flash +   form +   format +   gallery +   google +   google reader +   greasemonkay +   grid +   hacks +   height +   html +   ie +   image +   images +   inline +   install +   java +   javascript +   jQuery +   json +   lightbox +   list +   lorem ipsum +   mail +   mask +   menu +   meter +   monitor +   multiples themes +   mysql +   nagios +   navigation +   ogg +   outlook +   password +   performance +   photos +   picture +   player +   png +   post +   preload +   python +   ressources +   script +   scroll +   search +   select +   serveur +   smooth +   submit +   table +   theme +   thunderbird +   tooltip +   trac +   transition +   tree +   ubuntu +   upload +   validation +   veille +   video +   w3c +   web +   winmail.dat +   wordpress +   wordress +   xen +   xml +