我需要vertical-align:top
'一些文字'和'其他文字'。以下不適合我,只有第二個單元格對齊正確。我不明白問題是什麼。如何正確垂直對齊表格單元格內的圖像+文字
<style>
td {
vertical-align:top;
}
</style>
<table>
<tr>
<td><img src="icon.png"/> Some text </td>
<td> Other text </td>
</tr>
</table>
我也在努力,但不解決此問題jsbin鏈接相同[鏈接](HTTP:/ /jsbin.com/harukomivi/edit?html,css,console,output) – asb