图片和文字垂直居中

把下面的19X19的图片设置它的style="margin-bottom:-5px" 这样文字和图片就居中了,这个值随着图片的大小不同而改变。
td中<img src="image/ball.jpg" style="margin-bottom:-8px"><a href="index.asp" class="menu">Home</a> 
原文地址:https://www.cnblogs.com/zerogo/p/2209370.html