我有一点点复杂的表看起来像这样如何使用bootstrap将表单元格内容与图像垂直对齐?
<tr class='row-eq-height'>
<td><img/><div with text></td>
<td><img/><div with text></td>
<td><img/><div with text></td>
</tr>
但图像具有不同的尺寸,所以我加入max-width: 300px
给他们。 而现在它看起来像
image | image
text | different text
some space | different space
所以我要坚持我的div与文字的底部。我已经尝试了垂直对齐,但根本没有帮助。 最后表看起来应该
image | image
some space | different space
text | different text
的jsfiddle example
我试图使用你的风格,但它不会移动我的div到底部 – desu
你可以创建你的代码的小提琴。 –
https://jsfiddle.net/4wnrq0kq/ – desu