When I put an image inline in a table cell, like this:
<table border="1" cellspacing="5" cellpadding="5">
<tr>
<td>
<img width="20" height="20">Text
</td>
<td>
Text
</td>
</tr>
</table>
…it shifts the vertical alignment of the text in that cell, like this:
I've played around with vertical-align
, but haven't been able to align the in the two cells. What's the right way to do that?