gpt4 book ai didi

CSS Font Face 在 Firefox 或 IE8 中不工作

转载 作者:行者123 更新时间:2023-12-02 22:17:48 27 4
gpt4 key购买 nike

我的font-face 在 Firefox 或 IE8 中不工作。

文件在正确的运动中,这是我的 CSS 代码:

@font-face {
font-family: 'SnellRoundhand-Script';
src: url('snellroundhandscript.eot');
src: url('snellroundhandscript.eot?#iefix') format('embedded-opentype'),
url('snellroundhandscript.woff') format('woff'),
url('snellroundhandscript.ttf') format('truetype'),
url('snellroundhandscript.svg#snellroundhandscript') format('svg');
font-weight: normal;
font-style: normal;
}

文件会被破坏吗?还是我的 CSS 有问题?

我在该代码下方也有此代码:

@font-face {
font-family: 'Zapfino';
src: url('Zapfino.eot');
src: url('Zapfino.eot?#iefix') format('embedded-opentype'),
url('Zapfino.woff') format('woff'),
url('Zapfino.ttf') format('truetype'),
url('Zapfino.svg#Zapfino') format('svg');


font-weight: normal;
font-style: normal;
}

您可以在这里查看我的问题:http://hearingaidneeds.com/

最佳答案

看起来您的 .eot 文件已针对 IE 损坏,我看不出 FF 不工作的合理原因。尝试使用 this font face creator相反。

关于CSS Font Face 在 Firefox 或 IE8 中不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14188339/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com