我似乎无法在我的真实基本代码中垂直对齐跨度。
这是CSS:
.BigGreyTitle {font-size: 22px;
color: #676767;
font-weight: bolder;
}
.f1 {
font-size: 12px;
font-family: arial,'Lucida Grande','Bitstream Vera Sans',verdana,sans-serif;
}
.mainlink-u a {
color: #EF3834;
text-decoration: underline;
}
这是 HTML 标记:
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr>
<td class="BigGreyTitle" align="left">All Members In Montana</td>
<td align="right">
<span><img src="http://www.coalprepdir.com/images/schemes/red/ret_arrow.png" style="border:none" alt=""/></span>
<span style="padding-left:5px" class="f1 mainlink-u"><a href="distribution_us_stats.asp">Go Back To US Distribution</a></span></td>
</tr>
</table>
看看:http: //jsfiddle.net/sJA92/
任何帮助使这些垂直对齐将不胜感激..
谢谢!