Does anyone know how Pinterest.com's layout works?
On http://pinterest.com/ there are 'pins' ie <div>s of varying height but they all seem to render very well with no 'gaps' or line breaks to interrupt the flow. Is there a good/simple explanation of how they get the CSS to behave and implement that (I am hoping to learn and understand rather than just cargo-cult their CSS file!). Thanks in advance
Check out JQuery Masonry, it will be the simplest way to achieve the layout you want. http://masonry.desandro.com/