我不确定这是否是字体错误,但字体在 chrome 上具有 text-decoration: underline 样式的 anchor 文本上呈现双下划线。有什么想法吗?
顺便说一下,我使用的是 0.15 字体。
谢谢。
编辑:
<script type="text/javascript" src="typeface-0.15.js"></script>
<script type="text/javascript" src="myriad_pro_regular.typeface.js"></script>
<style type="text/css">
a{ text-decoration: underline; font-family: 'Myriad Pro'; }
</style>
<a href="#" class="typeface-js">Sign In</a>
最佳答案
屏幕截图或链接也很有用。 也许下划线是在带有 border-bottom 或 sth 的父 div 上模拟的?
关于CSS 下划线问题与 chrome 上的字体,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8929161/