# EPUBCheck HTM-048: SVG Fixed-Layout Documents must have a…

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

EPUBCheck HTM-048 is an error message: “SVG Fixed-Layout Documents must have a "viewBox" attribute (on the outermost "svg" element).” A fixed-layout document built as SVG has no viewBox on its outermost svg element, so its size is unknown.

- Official message (EPUBCheck 5.4.0): SVG Fixed-Layout Documents must have a "viewBox" attribute (on the outermost "svg" element).
- Default severity: Error

## Typical causes

- SVG pages exported with width and height but without viewBox.

## How to fix it

- Add a viewBox to the outer svg element, for example viewBox="0 0 1200 1600".

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