【发布时间】:2013-05-29 14:10:09
【问题描述】:
我在我的网站中使用了一种铜版哥特字体,但它在 Firefox 21.0 中无法正常工作。相反,它在 Firefox 20.0.1 中工作正常。可能是什么问题?
提前致谢!
【问题讨论】:
-
你可以试试 google Web Fonts www.google.com/webfonts。这将适用于所有浏览器
标签: php html css fonts firebug
我在我的网站中使用了一种铜版哥特字体,但它在 Firefox 21.0 中无法正常工作。相反,它在 Firefox 20.0.1 中工作正常。可能是什么问题?
提前致谢!
【问题讨论】:
标签: php html css fonts firebug
如果你正在使用
{
font-family: Copperplate / Copperplate Gothic Light;
}
应该可以。如果它现在可以工作,尽管您已经输入了正确的代码。请尝试 Google WebFonts。 www.google.com/webfonts/specimen/Balthazar 是 Copperplate gothic 的最佳谷歌网络字体替代品。 这是使用谷歌网络字体的示例代码。
<html>
<head>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Balthazar">
<style>
body {
font-family: 'Balthazar', serif;
font-size: 48px;
}
</style>
</head>
<body>
<div>This looks like Copperplate font in all browsers.!</div>
</body>
</html>
【讨论】: