font awesome icon is not appearing in IE 11, but showing in other browsers

前端 未结 16 1406
孤城傲影
孤城傲影 2020-12-01 06:40

I am new to font-awesome icons. I have one page in which there is a filter where user can search the data. I have added font awesome icon just before the search link (as per

16条回答
  •  时光取名叫无心
    2020-12-01 07:29

    If apache server is serving Font files, addthe following entries to the httpd.conf or .htaccess in .

    To set right mime-types for font files, add this lines to config:

     AddType application/vnd.ms-fontobject .eot
     AddType font/truetype .ttf
     AddType font/opentype .otf
     AddType font/opentype .woff
     AddType image/svg+xml .svg .svgz
    

    To update font files headers, This fix perfectly worked to render Font Icons in IE Browsers.

    
       Header unset Cache-Control
       Header unset no-store
    
    

提交回复
热议问题