CSS-006
Updated:
EPUBCheck CSS-006 is a usage message: “CSS selector specifies fixed position.” A CSS rule uses position: fixed, which reading apps handle inconsistently in paginated text.
The official message
CSS selector specifies fixed position.
- Default severity
- Usage. Informative only and hidden by default: it appears when EPUBCheck runs with -u (--usage). It does not make the EPUB invalid.
- EPUBCheck version
- 5.4.0
Typical causes
- Styles copied from a website, such as fixed headers.
How to fix it
- Remove position: fixed or replace it with normal flow.
Terms used here
Other CSS messages
CSS-007Font-face reference "…" refers to non-standard font type "…".CSS-004CSS documents must be encoded in UTF-8, detected …;CSS-008An error occurred while parsing the CSS: ….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.