Epubcheck reports an error for a paragraph like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
<title>Title</title>
<link rel="stylesheet" type="text/css" href="foo.css" />
</head>
<body>
<p class="flush">"Time flies <span style="red">when</span> you're having a good time"</p>
</body>
</html>
The error comes back as:
Position 1
An error occurred while parsing the CSS: Premature end of grammar (expecting: :).
There are no other errors in the EPUB.
I don't know how to fix this error. It's the first time I've encountered it.
Worthy of note: this same epub file runs through Amazon Kindlegen with no errors.
<link >
reference, and that's going to be handled separately).