# EPUBCheck HTM-046: Fixed layout document has no viewport…

Source: https://epublab.com/epubcheck/htm-046/ (updated 2026-11-03)

EPUBCheck HTM-046 is an error message: “Fixed layout document has no "viewport" meta element.” A fixed-layout XHTML document has no viewport meta element, so reading apps do not know its page size.

- Official message (EPUBCheck 5.4.0): Fixed layout document has no "viewport" meta element.
- Default severity: Error

## Typical causes

- Fixed-layout pages written without the viewport declaration.

## How to fix it

- Add a viewport in the head with the page's width and height in pixels, for example <meta name="viewport" content="width=1200, height=1600"/>.

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