CSS-008
Updated:
EPUBCheck CSS-008 is an error message: “An error occurred while parsing the CSS: ….” The CSS parser found a syntax error; EPUBCheck reports the parser's description and the position.
The official message
An error occurred while parsing the CSS: %1$s.
- Default severity
- Error. The EPUB breaks a rule of the specification and is invalid. Stores and Send to Kindle may reject it, and EPUBCheck exits with status 1.
- EPUBCheck version
- 5.4.0
%1$s, %2$s… are filled in with the file, value or element EPUBCheck found.
Typical causes
- A missing semicolon or brace, a stray character, or invalid syntax copied from a preprocessor.
How to fix it
- Go to the line and column in the message and correct the syntax.
Terms used here
Other CSS messages
CSS-007Font-face reference "…" refers to non-standard font type "…".CSS-006CSS selector specifies fixed position.CSS-004CSS documents must be encoded in UTF-8, detected …;CSS-003CSS document is encoded in UTF-16. It should be encoded in UTF-8 instead.CSS-002Empty or NULL reference found.CSS-001The "…" property must not be included in an EPUB Style Sheet.
Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EPUBLab.