“font-family:sans-serif”在Chrome中以斜体显示

时间:2015-04-12 11:33:49

标签: css google-chrome

我在html中有这个片段:

<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<style>
body<-->{
  font-family: sans-serif
  }
</style>
</head>

<body>
Text
</body>

这在Firefox和IE上确实没问题,但它在Chrome中以斜体显示。到底是怎么回事?似乎没有办法阻止它。

就此而言,我现在正在输入的文字也以斜体显示。

1 个答案:

答案 0 :(得分:1)

在下方进行Google搜索会发现这是Chrome中的字体问题。

您需要进一步了解解决方案:

https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=google%20chrome%20all%20italics

相关问题