Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/41.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css .EOT字体未在IE8及以下版本中显示_Css_Internet Explorer_Fonts_Font Face - Fatal编程技术网

Css .EOT字体未在IE8及以下版本中显示

Css .EOT字体未在IE8及以下版本中显示,css,internet-explorer,fonts,font-face,Css,Internet Explorer,Fonts,Font Face,这让我疯狂了一个多星期,所以我会感谢任何帮助 我正在尝试将自定义字体导入我的网页。我已经做了一千次了,但是这次我没有把它应用到IE8及以下 我的css代码是: <style> @font-face { font-family: 'Bello-Script'; src: url('fonts/Bello-Script.eot?'); src: url('fonts/Bello-Script.eot?#iefix') format('embedded-openty

这让我疯狂了一个多星期,所以我会感谢任何帮助

我正在尝试将自定义字体导入我的网页。我已经做了一千次了,但是这次我没有把它应用到IE8及以下

我的css代码是:

<style>
@font-face {
    font-family: 'Bello-Script';
    src: url('fonts/Bello-Script.eot?');
    src: url('fonts/Bello-Script.eot?#iefix') format('embedded-opentype'),
         url('fonts/Bello-Script.woff') format('woff'),
         url('fonts/Bello-Script.ttf') format('truetype'), 
         url('../fonts/Bello-Script.svg#Bello-Script') format('svg');

    font-weight: normal;
    font-style: normal;
}
</style>

@字体{
字体系列:“Bello脚本”;
src:url('font/Bello Script.eot?');
src:url('font/Bello Script.eot?#iefix')格式('embedded-opentype'),
url('font/Bello Script.woff')格式('woff'),
url('fonts/Bello Script.ttf')格式('truetype'),
url('../font/Bello Script.svg#Bello Script')格式('svg');
字体大小:正常;
字体风格:普通;
}
HTML代码:

<div style="font-family:'Bello-Script', Verdana">the quick brown fox jumps over the lazy dog</div>
敏捷的棕色狐狸跳过了懒狗 您可以在此处检查它是否正常工作:

通常我通过fontsquirrel转换成.EOT,但是这种字体被列入黑名单。我买了完整的商业版,但他们没有.EOT出售

所以我使用了我找到的所有转换器来创建.EOT,但是我无法在IE8中显示字体。因此,我认为问题不在于.EOT文件,而在于其他方面


提前感谢

如果字体在FontSquirrel被列入黑名单,通常的原因是字体的权利持有人不允许将其用作web字体。如果您购买了允许此类使用的许可证,请联系供应商。如果没有,就不要使用它。许可证仅在明确说明或明确允许任何使用时才允许使用web字体。IE可能不允许使用EOT字体,因为它会检查使用权限。

刚刚解决了这个问题,希望它能帮助某人:

是.eot文件不起作用。您现在可以通过前面显示的链接检查它是否正常工作:

使用microsoft weft制作了.eot,并且工作正常