@font-face 无法识别
好的,到目前为止我的网站已经建立,但我使用的两种字体没有显示。我转移了字体并将它们放在与我的网页相同的文件夹中。我还在 css (styless.css) 中使用了 @font-face。我不确定我哪里错了。
网站:http://envycosmetics.zxq.net/TestSite/webpages/index.html
Ok I have my site up so far but the two fonts I used are not showing up. I transferred the fonts and put them in the same folder as my webpages. I also used @font-face in css (styless.css). I'm not sure where I went wrong.
Website: http://envycosmetics.zxq.net/TestSite/webpages/index.html
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我正在查看 styless.css,但看不到您在哪里使用了 @font-face。确保您这样做:
然后像这样调用它:
另外,不要忘记为不支持 @font-face 的浏览器调用另一种字体,如
#navBar
值中所示。I'm looking at styless.css, and I can't see where you used @font-face. Make sure you do it like this:
Then call it like this:
Also, don't forget to call another font for browsers that don't support @font-face, as shown in
#navBar
values.不...不,你没有。
No... no, you didn't.