【发布时间】:2014-09-28 04:07:15
【问题描述】:
在使用 Firefox 查看网页时,我无法让 google 字体在我的网页上运行。这是html:
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="https://www.google.com/fonts#UsePlace:use/Collection:Lobster">
<title>Page Title</title>
</head>
<body>
<p style="font-family:Lobster">Hi, this is some test text! </p>
</body>
我还在我的电脑上安装了字体。该字体在 Chrome、Safari 和 IE 中完美显示,但在 Firefox 中不显示。 Firefox 是否需要一些额外的代码才能让自定义字体工作??
【问题讨论】:
-
fonts.googleapis.com/css?family=Lobster">你能用这个吗
-
谷歌为你生成所有标签,你所要做的就是复制/粘贴它们!