如何在Firefox上垂直对齐数字与Bootstrap?

时间:2015-03-14 17:09:09

标签: html css twitter-bootstrap firefox fonts

我使用Bootstrap,但不幸的是,数字,特别是5和7,与Firefox中的其他数字没有垂直对齐。请参阅我的Plunker

使用以下HTML代码:

<h1>Hello, world!</h1>
<h4>12345678910</h4>

输出在Chromium中看起来像这样:

text in chromium

Firefox渲染:

text in firefox

注意如何使用不同的垂直偏移渲染数字5和7。

您能否为所有标准浏览器(ff,chrome,即safari)推荐交叉兼容的字体?

0 个答案:

没有答案