Perhaps you can fix the height of a div that has a thumbnail class. How:
<div class="thumbnail" style="height: 400px;">
If you need the same height for each content, I think you should write JavaScript that will fix it after the DOM is ready, of course. How:
var max = 0, jThumbnails = $("ul.gallery div.thumbnail"); jThumbnails .each(function(index, elt){ max = Math.max(max, $(elt).height()); }); jThumbnails.setHeight(max);
source share