Quote:
Originally Posted by jhowell
I don't see anything obviously wrong with that code. What is the validation error?
|
CSS styles/attributes shouldn't be in the <html> tag. And there's none in my .html file before sticking it through Calibre. Here's the error:
Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
The error makes sense to me, but Calibre adding a styling attribute where there were none, does not.