0

我为我的网站使用了字体。它在除 chrome 之外的所有浏览器上都能正常显示。

我应该怎么办?

CSS:

@font-face {
        font-family: "B Yekan";
        src: url('font/142272950-683a5dddcff7f1cbb08d964cc275cb50ce7840291901931.eot');
        src: url('font/142272950-683a5dddcff7f1cbb08d964cc275cb50ce7840291901931.eot?#iefix') format('embedded-opentype'),
        url('font/142272950-683a5dddcff7f1cbb08d964cc275cb50ce7840291901931.svg#B Yekan') format('svg'),
        url('font/142272950-683a5dddcff7f1cbb08d964cc275cb50ce7840291901931.woff') format('woff'),
        url('font/142272950-683a5dddcff7f1cbb08d964cc275cb50ce7840291901931.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
    }

body{
        font-family: "B Yekan","Open Sans";
        font-size: 13px;
        line-height: 21px;
        color: #626262;
    }
4

1 回答 1

0

检查您是否可以从样式路径访问字体文件夹。字体文件夹是否与样式表文件位于同一文件夹中?尝试使用绝对路径。问候

于 2014-04-07T15:29:27.553 回答