I am faced with a unique challenge involving a table where the first cell contains the word "name" and the second cell contains some text. Sometimes, this text may include embedded images. The issue arises when an image appears on the first line of the text, causing the entire first line to shift down and no longer align with the text in the first cell. My goal is to align the first lines of both table cells.
<table>
<tr>
<td class="align">one</td>
<td>two <img src="http://www.emofaces.com/en/emoticons/v/vampire-emoticon-before-lunch.gif" /> three three three three three three three three three three three three three three three three three three three</td>
</tr>
</table>
http://jsfiddle.net/gdx0qhcc/31/
In the provided fiddle, the aim is to align the word "one" with the word "two". While I am aware that I could use vertical-align: top; on the image, this causes the text in the second cell to move up and look unattractive, so it is not a viable solution. Any help, whether through CSS, JavaScript, or a Webkit-only solution, would be greatly appreciated.
EDIT: Please note that the dimensions of the image may vary. I have also updated the fiddle with the image alignment set to "middle", but it has not resolved the issue.
EDIT2: I have found a final "hack" solution here: http://jsfiddle.net/Lqcx2vfg/. Thank you to everyone who contributed.