Here's my sample output:
Here's my html
code on it:
<div class="products">
<ul class="thumbnails">'
<li>
<div>'.$item->ASIN.'</div>
<div><img src="'.$item->SmallImage->URL.'" alt=""></div>
<div>'.$item->ItemAttributes->Title.'</div>
<div>'.$item->ItemAttributes->ProductGroup.'</div>
</li>
</ul>
And here's my css
code:
.thumbnails {
text-align: center;
}
.thumbnails li {
width: 150px;
height: 250px;
background: red;
float: none !important; /* to overwrite the default property on the bootstrap stylesheet */
display: inline-block;
*display: inline; /* ie7 support */
zoom: 1;
}
I noticed it is already horizontally aligned, my problem is to align it vertically. What should I do? Please help thanks!