CSS @font-face not working with Firefox, but working with Chrome and IE

后端 未结 28 2820
野趣味
野趣味 2020-11-22 06:27

The following code works in Google Chrome beta as well as IE 7. However, Firefox seems to have a problem with this. I\'m suspecting it to be a problem of how my CSS files ar

28条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-22 06:46

    I'll just leave this here because my co-worker found a solution for a related "font-face not working on firefox but everywhere else" problem.

    The problem was just Firefox messing up with the font-family declaration, this ended up fixing it:

    body{ font-family:"MyFont" !important; }
    

    PS: I was also using html5boilerplate.

提交回复
热议问题