I have thumbnail DIVS that are simply an image with the product name below. Here's the code:
<div class="thumbs">
<a href="LINK"><img src="IMAGE" /></a>
<div>Product Name</div>
</div>
The CSS is below:
.thumbs {
float:left; width:210px; height:200px; text-align:center;
}
.thumbs div {
}
.thumbs img
{
max-height: 115px;
max-width: 100%;
}
Originally I had the images at 115px height so every row had the same height images and the text below was aligned correctly. Some of the images became too wide so I had to make a restriction on the max-width.
Problem: Since the image heights vary ... the text below the thumbnail varies in vertical placement. I want the text to be on the same line across the rows.
Example page: http://test.pillarsoflifebook.com/banquettes/designer-banquettes/ *Note the first 3 thumbnails are the same height .. thus the names below them are aligned
Any thoughts?