Font-awesome not properly displaying on Firefox / how to vend via CDN?

后端 未结 5 848
无人共我
无人共我 2020-12-09 05:20

I can\'t get font-awesome to display properly in firefox, even in localhost. I\'m receiving the following cross domain error:

Timestamp: 08/08/2012 02:49:37          


        
5条回答
  •  失恋的感觉
    2020-12-09 06:07

    I've usually found adding a local declaration fixes this, as per this. e.g.:

    @font-face {
      font-family: "Your typeface";
      src: url("type/filename.eot");
      src: local("☺"),
        url("type/filename.woff") format("woff"),
        url("type/filename.otf") format("opentype"),
        url("type/filename.svg#filename") format("svg");
    }
    

    I'm sure the Apache config method is more correct, however you may not be using Apache or may not have the ability to make such overrides.

提交回复
热议问题