Rak*_*age 6 internet-explorer google-font-api google-webfonts internet-explorer-9
<!doctype html>
<html>
<head>
<title>Test Ubuntu</title>
<link href="http://fonts.googleapis.com/css?family=Ubuntu:regular" rel="stylesheet" type="text/css" />
<style>
body { font-family: 'Ubuntu', sans-serif; }
</style>
</head>
<body>
Test Ubuntu
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
显示chrome和firefox中的字体...但在ie9中,如果我添加了doctype行,它会中断!?没有它,工作正常.
我希望它能在所有三种浏览器中运行(使用doctype?因为有时像css这样的其他东西依赖于在那里使用doctype?或者如果可能的话,它看起来不正确?)
谢谢!
| 归档时间: |
|
| 查看次数: |
4236 次 |
| 最近记录: |