当前位置: 动力学知识库 > 问答 > 编程问答 >

css - IE Font styles only display correctly until page finishes loading

问题描述:

Very strange problem on a site I'm working on: http://storyhaus.com/

The fonts I have used on the site (Georgia and Bebas Neue) display correctly while the page is loading, however once the page is fully loaded they fall back to standard sans fonts. It doesn't seem like the FontSquirrel font-face kit is the problem, as Georgia is falling back to Arial for the copy.

Does anyone know what could be causing the problem?

Thanks

EDIT: All browsers are displaying fine except dreaded IE.

网友答案:

Put your @font-face in the same style sheet in which other styles are defined instead of using a separate style sheet.

网友答案:

Maybe put a CSS reset at the start, and view the entirity of your code, because the css must be getting the information from someone to revert back to Arial.

网友答案:

I just checked in Firefox, Chrome, Opera, and Safari. None of them showed the issue you describe. Is it possible it's just a caching issue? Try clearing your cache, and then shift-reloading the page.

If that doesn't work, try a different browser. Also, you should provide the browser and OS you are testing on for these sorts of questions.

分享给朋友:
您可能感兴趣的文章:
随机阅读: