On IE CSS font-face works only when navigating through inner links

后端 未结 8 921
没有蜡笔的小新
没有蜡笔的小新 2020-12-01 06:30

Our webdesigner has created a CSS with the following font-face:

@font-face {
    font-family: \'oxygenregular\';
    src: url(\'oxygen-regular-webfont.eot\')         


        
相关标签:
8条回答
  • 2020-12-01 07:09

    Make sure that it is not a pathing issue, i.e. your CSS file is relative to where the fonts are. In your case, you need your CSS file in the same folder as your font files.

    0 讨论(0)
  • 2020-12-01 07:10

    I've faced with the same issue.

    In case if header of the .eot file contains Cache-Control: no-cache value, IE9 doesn't load font properly. Dev Tools showed Result - 200, but column Received showed 400B, in the same time Content-Length was 70Kb. I've used following value Cache-Control: max-age=0, to fix issue.

    0 讨论(0)
提交回复
热议问题