# HTM_060b: viewport that will be ignored, how to fix it

Source: https://epubcc.com/epubcheck/htm_060b/ (updated 2026-11-04)

EPUBCheck HTM_060b is a usage message: “EPUB reading systems must ignore viewport meta elements in reflowable documents; viewport declaration "…" will be ignored.” A viewport meta element will be ignored by reading apps, so it has no effect. EPUBCheck reports this usage note in two cases. HTM_060b is a viewport in a reflowable document, where reading apps must ignore it. HTM_060a is a second (or later) viewport in a fixed-layout document, where only the first one counts.

- Official message (EPUBCheck 5.4.0): EPUB reading systems must ignore viewport meta elements in reflowable documents; viewport declaration "%1$s" will be ignored.
- Default severity: Usage

## Typical causes

- Head content copied from web pages, which usually carry width=device-width, into reflowable chapters (HTM_060b).
- Fixed-layout templates reused for reflowable chapters (HTM_060b).
- Duplicated head content in a fixed-layout page, leaving two viewport elements (HTM_060a).

## How to fix it

1. Open the file EPUBCheck names (the message gives the path, line and column) in a text or EPUB editor such as Sigil, or unzip the EPUB and open it there.
2. In a reflowable document, remove the viewport meta element: it does nothing there.
3. In a fixed-layout document, keep only the first viewport meta element, with both width and height, and remove the others.
4. Rebuild the EPUB and run EPUBCheck again to confirm the message is gone.

## When it's not this

If a single viewport repeats width or height inside its content attribute, that is HTM_059.

## Sources

- EPUB Reading Systems 3.3, §8.3 The viewport meta tag: https://www.w3.org/TR/epub-rs-33/#sec-viewport-meta (read 2026-11-04)
- EPUB 3.3, §8.2.2.6 Content document dimensions: https://www.w3.org/TR/epub-33/#sec-fxl-content-dimensions (read 2026-11-04)

Message text and severity: EPUBCheck (W3C, BSD-3-Clause). Explanation: EpubCC.
