eot字体类型在IE8中不起作用

时间:2014-08-06 07:10:22

标签: css internet-explorer-8

我正在尝试在IE8中使用哥特式字体。它不适用于ie8。如何获得它?

<style>
      @font-face {
      font-family: GothicNormal;
      src: url("../fonts/gothic.eot") format("eot"),url('../fonts/gothic.woff')   format('woff'), url('../fonts/gothic-normal.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
    }
   .paragraph{
      font-family: GothicNormal;
    }
</style>  

1 个答案:

答案 0 :(得分:1)

试试这样。还要再次检查路径。

 @font-face {    
 font-family: GothicNormal;
 src: url('../fonts/gothic.eot');
 src: url('../fonts/gothic.eot?#iefix') format('embedded-opentype'),
     url('../fonts/gothic.woff') format('woff');
 font-weight: normal;
 font-style: normal;
 }