We’ve all been there at one stage or another. You have a grid of items that are floated using float: left but their heights are different. So your items don’t nicely sit within the grid area that you envisioned. Worry not, this simple script I’ve written gets the job done.
The plugin will calculate the height of multiple elements and return the tallest height of those elements. The plugin has an example of usage so it should be easy to understand.
Checkout jQuery Tallest Height on Github here. To be honest, it probably didn’t need to be put into its own repository, but it makes any future changes a lot easier.