Looking to display thumbnails in a div with dimensions of 120x120, but struggling with the vertical alignment.
The current image size is 120x57 and it's not aligning properly within the div, leaving too much space at the top. Here is the code snippet for reference:
<div class="thumb">
<a href="http://link.com"><img src="http://link.com/media/thumb.png" border="0" alt="thumb" title="thumb" class="thumblist"></a>
</div>
The CSS used for styling the thumbnail is as follows:
margin: 8px 0;
width: auto;
height: 120px;
overflow: hidden;
Attempts to use vertical-align:bottom have been unsuccessful. Any suggestions on how to align the image to the middle or bottom would be appreciated.
Thank you!