2015-02-23 95 views
0

我看到另一个问题here对于同样的问题,但没有任何建议正在为我工​​作。我加载文本字体的几个权重,并使用此语法自定义图标字体:IE8和CSS @ font-face崩溃浏览器

@font-face { 
    font-family: "proxima_nova_rgregular"; 
    src: url("../vendor/fonts/proximanova-regular-webfont.eot"); 
    src: url("../vendor/fonts/proximanova-regular-webfont.eot?#iefix") format("embedded-opentype"), 
    url("../vendor/fonts/proximanova-regular-webfont.woff") format("woff"), 
    url("../vendor/fonts/proximanova-regular-webfont.ttf") format("truetype"), 
    url("../vendor/fonts/proximanova-regular-webfont.svg#proximanova-regular-webfont") format("svg"); 
    font-weight: normal; 
    font-style: normal; 
} 

约80%的时间,这将彻底崩溃的浏览器。我用bootstrap也是这样,但找不到任何可能表明不兼容的东西。我试过在关闭body标签之前使用javascript加载,以及大约其他一百种方法。

事件查看器显示了Mshtml.dll的

Faulting application name: iexplore.exe, version: 8.0.7601.18715, time stamp: 0x54b3297e 
Faulting module name: mshtml.dll, version: 8.0.7601.18715, time stamp: 0x54b334da 
Exception code: 0xc0000005 
Fault offset: 0x000d87e0 
Faulting process id: 0x25c 
Faulting application start time: 0x01d04d3634afbed0 
Faulting application path: C:\Program Files\Internet Explorer\iexplore.exe 
Faulting module path: C:\Windows\System32\mshtml.dll 
Report Id: ac43aaa2-bb80-11e4-9a74-000c29491be4 

我在这里完全难倒,一切我已经试过是行不通领导让我崩溃 - 在正确的方向的任何点会有帮助。

回答

0

对于遇到这个问题的其他人,在我的情况下,在关闭</body>标记之前,它就出现了一些不好的标记。通过masterpage浏览并逐块删除最终解决了这个问题。