I'm using this script http://benholland.me/javascript/how-to-build-a-site-that-works-like-pinterest/ to try and build a gallery for a website.
I'm rendering the "block" divs inside another div which has its position to relative (lets call it "block-holder"). The problem is that I cannot make the "block-holder" to wrap around these "block"s because they have position set to absolute. My only option is to calculate the height of the highest column with JS and transfer it to a CSS class.
Do you have any idea how to do this?