Petty13579
Petty13579

Reputation: 35

Text in table row appearing next to image but not where I wanted it to be placed

I'm not sure what the reason is behind this issue and I can't figure out why it is doing it so maybe you can help? This is a screenshot of what is happening: http://puu.sh/4SbM3.png

This is for a html email so I have to use the table methods. This is the code I have for that particular section of the table:

    <td align="left" width="214" 
    <td> <a href="http://www.lendfair.co.uk/apply-for-a-loan.php">
    <img src="images/apply.jpg" alt="Apply" width="60" height="25"></a>
    For a Guarantor Loan
    </td>

It looks to me like the text is lining up with the bottom of the picture but I would like it to line up with the center instead and I can't figure out how to do it. If you could help it would be most appreciated.

Upvotes: 0

Views: 256

Answers (1)

Justin Lessard
Justin Lessard

Reputation: 11901

<img src="images/apply.jpg" alt="Apply" width="60" height="25" style="vertical-align:middle;">

W3Schools Vertical Align Property

Upvotes: 1

Related Questions