Css IE8不显示第二个自定义字体
我的网页上有两种自定义字体,一种可以完美加载,另一种则不能 我建立了我的字体文件,这些文件通常都是有效的Css IE8不显示第二个自定义字体,css,fonts,internet-explorer-8,font-face,Css,Fonts,Internet Explorer 8,Font Face,我的网页上有两种自定义字体,一种可以完美加载,另一种则不能 我建立了我的字体文件,这些文件通常都是有效的 @font-face { font-family: 'cartoonistkooky'; src: url('#{$fontsDir}cartoonist_kooky-webfont.eot'); src: url('#{$fontsDir}cartoonist_kooky-webfont.eot?#iefix') format('embedded-opentype'
@font-face {
font-family: 'cartoonistkooky';
src: url('#{$fontsDir}cartoonist_kooky-webfont.eot');
src: url('#{$fontsDir}cartoonist_kooky-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$fontsDir}cartoonist_kooky-webfont.woff') format('woff'),
url('#{$fontsDir}cartoonist_kooky-webfont.ttf') format('truetype'),
url('#{$fontsDir}cartoonist_kooky-webfont.svg#cartoonistkooky') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'hastypudding';
src: url('#{$fontsDir}hasty_pudding-webfont.eot');
src: url('#{$fontsDir}hasty_pudding-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$fontsDir}hasty_pudding-webfont.woff') format('woff'),
url('#{$fontsDir}hasty_pudding-webfont.ttf') format('truetype'),
url('#{$fontsDir}hasty_pudding-webfont.svg#hasty_puddingregular') format('svg');
font-weight: normal;
font-style: normal;
}
Cartooniskooky没有在IE8中显示,也没有错误。请显示URL,以便可以访问所有CSS和HTML代码,并且可以验证请求字体文件时服务器发送的内容。这可能只是字体文件名的输入错误,或者更复杂的问题。IE8中只部分支持@gont face。检查这里:你能发布一个不起作用的例子吗?@JukkaK.Korpela不能这样做,网站正在建设中,数据尚未公开