我有一个图像需要与一个框内的文本块对齐。将图像与文字垂直对齐
问题是我无法使文本与图像的顶部对齐。盒子顶部和图像之间总是有空间。
这里是我的代码为箱体内部的图像和文字在这里是它的样子:http://paulcwebster.com
<div style="width:1000px;height:155px;border:1px solid black;">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="134"><a href="index.html"><img src="gfx/adverse-reactions.jpg" alt="" border="0" height="150" width="176"></a></td>
<td width="1827"><font color="blue" size="2"><a href="gfx/VanMagAdverseReactionsApril2013.pdf" target="_new">Adverse Reaction</a></font>
Vancouver Magazine April 2013<br><br><em>British Colombia's firing of scientists closely involved in staging major studies of physician prescribing practices, and the safety of a wide array of drugs is a situation that Dr. David Henry, CEO of Toronto’s Institute for Clinical Evaluative Sciences, Canada’s preeminent centre for science-based health policy development, describes as extremely distressing. “The most comprehensive data in Canada has been denied to us,” he says, noting that the B.C. government has failed to respond to repeated inquiries from alarmed scientists across Canada.</em></td>
</tr>
</tbody>
</table>
<br>
</div>
谢谢,这对我来说! – HussienK
很高兴帮忙... – Firezilla12