<!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>
在 chrome 和 firefox 中显示字体...但在 ie9 中,如果我添加doctype行,它会中断!?没有它就可以正常工作。
如果可能的话,我想让它在所有三个浏览器中工作(使用 doctype?因为有时像 css 这样的其他东西依赖于那里有 doctype?或者没有它看起来不正确)?
谢谢!