[size=medium]笨办法:填充多高距离,使其看起来居中显示[/size]
[color=red]主要是:line-height,vertical-align对此表情不支持,text-align支持水平居中[/color]
<li url="/lottery/index.htm" class="infoBtn swapImage fucai" style="background-image: url('/images/zyt/wlbtysh_btn.png');">
<hr style="height:23px;border:0px;" />未来宝卡特约商户查询
</li>
[color=red]主要是:line-height,vertical-align对此表情不支持,text-align支持水平居中[/color]
jQuery("li").css({
"width" : "419",
"height" : "91",
"border" : "0",
"vertical-align" : "middle",
"font-size" : "22px",
"color" : "white",
"line-height" : "3.5"
}).addClass("text_center");