Robert S
Robert S

Reputation: 139

"font-family: sans-serif" appears in italics in Chrome

I have this snippet in html:

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

<body>
Text
</body>

This comes out OK on Firefox and IE, but it comes out in italics in Chrome. What is going on? There doesn't seem to be a way of stopping it.

For that matter this text that I'm now typing also comes out in italics.

Upvotes: 0

Views: 128

Answers (1)

RobertFrank
RobertFrank

Reputation: 7394

Doing a Google search below reveals that this is a font problem in Chrome.

You'll need to read a little further for solutions:

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

Upvotes: 1

Related Questions