ie9 doctype and fonts?

谁说我不能喝 提交于 2019-12-05 07:31:53
paulcam

Actually, this looks to be a feature. If you turn on the developer toolbar (F12), select the "Script" tab, and hit refresh on this test page, you should see something like this:

CSS3117: @font-face failed cross-origin request. Resource access is restricted. font?kit=_tMhxyW6i8lbI7YsUdFlGA

It looks like this is answered in a different post.

Can you please try to add the content in the STYLE element to a css-file and replace STYLE with a LINK element refering to it?

IE executes inline scripts before external scripts, this may be a similar bug / feature.

if i add

<meta http-equiv="X-UA-Compatible" content="IE=8" />

then i can add the doctype line back in without breaking the fonts in ie9..

thanks :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!