Search code examples
cssinternet-explorerfont-face

font face not working on IE7 & IE8 and working on IE9,10, Firefox, and all other browsers


This is my css

@font-face {
    font-family: 'droidnaskhbold';
    src: url('../../fonts_new/droidnaskh.eot');
    src: url('../../fonts_new/droidnaskh.eot?#iefix') format('embedded-opentype'),
         url('../../fonts_new/droidnaskh.woff') format('woff'),
         url('../../fonts_new/droidnaskh.ttf') format('truetype'),
         url('../../fonts_new/droidnaskh.svg#droidnaskhbold') format('svg');
}

I can't get it work on IE7 & IE8 any help please


Solution

  • Font-face has been supported by IE5.5 and up, and EOT fonts since IE6 so I don't see why this shouldn't work.

    Without some more code, it's hard to tell what's wrong here. Lack of :before support, wrong path to fonts, downloading of fonts disabled in IE's security settings?