开发者

IE Font styles only display correctly until page finishes loading

开发者 https://www.devze.com 2023-03-26 16:51 出处:网络
Very strange problem on a site 开发者_如何学PythonI\'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, howeve

Very strange problem on a site 开发者_如何学PythonI'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.

0

精彩评论

暂无评论...
验证码 换一张
取 消