我有一系列浮动图像,每个都有不同的大小,我怎样才能使图像对齐到底部,而不是顶部,我尝试了垂直对齐,但它不是 wotking。
代码是这样的:
<div id="ngg-image-194" class="ngg-gallery-thumbnail-box"
<div class="ngg-gallery-thumbnail">
<img .... > </img>
</div>
</div>
<div id="ngg-image-195" class="ngg-gallery-thumbnail-box"
<div class="ngg-gallery-thumbnail">
<img .... > </img>
</div>
</div>
and so on .............
CSS是这样的:
.ngg-gallery-thumbnail-box {
float: left;
}
.ngg-gallery-thumbnail img {
height: auto;
}
#ngg-image-194 img {
width: 100px ;
}
#ngg-image-195 img {
width: 140px ;
}
and so on .............