Skip to content
EPUBCheck · Stylesheets

CSS-001

Updated:

EPUBCheck CSS-001 is an error message: “The "…" property must not be included in an EPUB Style Sheet.” The stylesheet uses a property that EPUB does not allow in its style sheets, such as direction or unicode-bidi.

The official message

The "%1$s" property must not be included in an EPUB Style Sheet.

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

  • CSS copied from the web that sets text direction in the stylesheet.

How to fix it

  • Remove the property. Set text direction with the dir attribute in the XHTML instead.

Terms used here

Other CSS messages

  • CSS-002 Empty or NULL reference found.
  • CSS-003 CSS document is encoded in UTF-16. It should be encoded in UTF-8 instead.
  • CSS-004 CSS documents must be encoded in UTF-8, detected …;
  • CSS-006 CSS selector specifies fixed position.
  • CSS-007 Font-face reference "…" refers to non-standard font type "…".
  • CSS-008 An error occurred while parsing the CSS: ….

Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EPUBLab.

FAQ

What does EPUBCheck CSS-001 mean?

EPUBCheck CSS-001 is an error message: “The "…" property must not be included in an EPUB Style Sheet.” The stylesheet uses a property that EPUB does not allow in its style sheets, such as direction or unicode-bidi.

Is CSS-001 an error?

CSS-001 is reported as error by default. 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.