我想我找到了你的问题:http://trzydewizje.com/ud/font/。
trzydewizje.com/ud/font/SegoeCondensed.woff
未能加载资源:服务器用的404(未找到)状态回答
trzydewizje.com/ud/font/SegoeCondensed.ttf
未能加载资源:服务器用的404(未找到)
一个状态响应
至少在你的评论张贴错误,您正在试图链接到SegoeCondensed.woff
,而实际的文件都是小写喜欢segoecondensed.woff
。
为了验证这一点,我访问了您的样式表,其中的字体被添加(http://trzydewizje.com/ud/font/stylesheet.css),这似乎是这个问题:
@font-face {
font-family: 'Segoe Condensed';
src: url('SegoeCondensed.eot');
src: url('SegoeCondensed.eot?#iefix') format('embedded-opentype'),
url('SegoeCondensed.woff') format('woff'),
url('SegoeCondensed.ttf') format('truetype'),
url('SegoeCondensed.svg#SegoeCondensed') format('svg');
font-weight: normal;
font-style: normal;
}
我通过编辑浏览器的CSS,并改变选中此文件名解决了您的问题:
@font-face {
font-family: 'Segoe Condensed';
src: url('segoecondensed.eot');
src: url('segoecondensed.eot?#iefix') format('embedded-opentype'),
url('segoecondensed.woff') format('woff'),
url('segoecondensed.ttf') format('truetype'),
url('segoecondensed.svg#SegoeCondensed') format('svg');
font-weight: normal;
font-style: normal;
}
可能与在其服务器上设置的mime类型有关。 –
你意识到你必须将字体文件上传到新的服务器,对吧?你是否在新的服务器上添加了'xxx.eot','xxx.woff','xxx.ttf'和'xxx.svg'? –
是的,当然,我们检查第一个文件是否正常 – tyma92