Vertical autoalignment of divs
I'm almost embarrassed to ask this but I did forget over the years how to deal my current problem.
It's quite simple. I have a Wordpress page using my custom theme which basically puts the posts with thumbnails on the front page. These posts consist of a picture with a title underneath it. If the title is only one line long, it's all cool and they all line up properly, three in each row. But if the title is two lines long, that one div with the thumbnail & long title becomes too tall and pushes out the div below it (see attachment). As it is set now, the divs are all lined up to the left using the float:left css attribute. My desire is to make sure that the taller div doesn't push the one below it away, as seen in the second attached picture.
Is there any way to do this?
Attachment 12918Attachment 12919