Internet Explorer中的填充差异

时间:2013-10-25 09:32:43

标签: css internet-explorer padding vertical-alignment difference

我的按钮在Chrome和Firefox中应该显示,但文本无法在Internet Explorer中垂直居中。大多数时候我成功解决了这个问题,但这次我被困住了。一点点帮助会很好!

这是地址,所以你可以自己看看,问题出在标题中。:

http://spectra.macework.se

这是我的css:

#header-family_menu ul li a{

display:block;
font-size: 1.1em;
color:#000;
font-family:"SofiaProBold";
line-height: 1.3em;
padding: 9.0px 0 3.5px 0;
width:92.5%;

正如你所看到的,我一直在尝试使用行高和填充来居中我的文本,但这次它在IE中失败了。

0 个答案:

没有答案