Closed KrunchMuffin closed 12 years ago
It's happening because your captions have different heights, so the float isn't going to work nicely, since it bumps into the long one when it goes to the next row. Set them to have the same height and you should be OK (assuming the images are already the same height).
Try adding the following css(of course it'll work in less as well):
.thumbnail p {
height: 36px;
overflow: hidden;
}
Assuming you're using a line height of 18px, this should show the first two lines of text and hide any overflow.
If all your images are the same size, this will make all your thumbnail boxes the same size too.
Give it a shot and see if your images line up better.
it wasn't working, then i realized the p should be h5, now it works great. thank you, thank you!
.span3:nth-child(5) {
clear: left;
}
Here is a pic to show what I am referring to. Below that is the code. This is for 2.0.3. Pic was taken in Chrome 20. Happens in FF 12 as well. Happens with or without the captions. And seems random.