You can see here in the example with a title and a description, if the title or the description of one the cell is much shorter or longer than the other, the whole height of the block will be diminished or increased accordingly.

How to have these block having the same height ?

I tried with setting display: table-row on the ul, and display: table-cell on the .thumbnail class, but unfortunately this completely borked the responsiveness of the layout: the image height and width inside the block are not resized automatically any more.

UPDATE: setup a demo of the problem on jsfiddle

1 Answers

rochejul On Best Solutions

Maybe you can fix the height div which has got the thumbnail class. Like:

<div class="thumbnail" style="height: 400px;">

If you want the same height for every content, I think you must write a JavaScript which will fix it, after the DOM ready of course. Like:

var max = 0, jThumbnails = $(" div.thumbnail");
jThumbnails .each(function(index, elt){
    max = Math.max(max, $(elt).height());