Wednesday, September 06, 2006

[CSS, Javascript] equalize element height

For a customer website, I had a problem with a two column layout. I had a problem with the layout.

Both columns have a variable height, depending on content loaded from a database.The height of these columns needs to be equal. There seems to be no pure css solution.

Created a non-intrusive Javascript (Crossbrowser, very easy to use). Download example, and the scripts.
Based on css classes, the height of div elements can be equalized. Quite easy to use, no javascript required and a friendly license (LGPL).


Post a Comment

<< Home