2015-02-23 96 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瀏覽並逐塊刪除最終解決了這個問題。