I have a table created in XTMl, and within one of the cells I have two lines of text:
Firstname
Surname
I want to add an image to the right of these lines. However, when I try to insert the image using <img>
,
there ends up being a gap between the two lines like this:
Firstname
Surname
Sometimes the image even appears below the second line. Why does this happen, and what can I do to fix it?
<td><strong>Name<br />Lastname<a href="google.com"><img src="images/1.gif" alt="img" /></a></strong></td>