How to correctly vertical align image+text inside table cell

Dehwhlumj

New Member
I need to \[code\]vertical-align:top\[/code\] both 'Some text' and 'Other text'. The following is not working for me, only the second cell is aligned correctly. I don't understand what the problem is.\[code\]<style> td { vertical-align:top; }</style><table> <tr> <td><img src="http://stackoverflow.com/questions/13828901/icon.png"/> Some text </td> <td> Other text </td> </tr></table> \[/code\]
 
Back
Top