简体   繁体   English

Google字体:如何阻止Internet Explorer像常规一样呈现粗体字体?

[英]Google Fonts: How can I prevent Internet Explorer from rendering a bold font as regular?

Google Fonts is great. 谷歌字体很棒。 But, I seem to have a problem with Internet Explorer. 但是,我似乎遇到了Internet Explorer的问题。 A font (say, Arvo) styled as bold won't render as bold in Internet Explorer . 设置为粗体的字体(例如,Arvo) 在Internet Explorer中不会呈现为粗体 It does in all other browsers though. 但它在所有其他浏览器中都有。

Am I missing something? 我错过了什么吗?

How about making an IE specific stylesheet and in it declare something like 如何制作一个IE特定的样式表,并在其中声明类似的东西

* { font-weight: regular; }

It's usually not advised to use the * selector, so try to narrow it down to wherever the font is used. 通常不建议使用*选择器,因此请尝试将其缩小到使用字体的任何位置。 For example, perhaps it's just paragraph text: p { font-weight: regular; } 例如,也许它只是段落文本: p { font-weight: regular; } p { font-weight: regular; } , or just links: a {...;} etc. etc. p { font-weight: regular; } ,或只是链接: a {...;}等等。

Good luck! 祝好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM