13.2.1 Page margins

Chapter 13 - Paged media - 13.2.1 Page margins

Go to the relevant page of the specification.

at-page-rule-002-a (paged)
@page margins on top and right using percentages
A percentage right margin in the @page context applies to the page box and is relative to the width of the page box. A percentage top margin in the @page context applies to the page box and is relative to the height of the page box.
at-page-rule-002-c (paged)
Page Margins: bottom and left (percent)
A margin declaration within the @page context applies to the page box. Percentage values on right and left margins are relative to the page box width. Percentage values on top and bottom margins are relative to the page box height.
page-margin-000 (paged)
@page margins shorthand using fixed physical units
A margin declaration within the @page context applies to the page box.
page-margin-001 (paged)
@page margins on top and right using percentages
A percentage right margin in the @page context applies to the page box and is relative to the width of the page box. A percentage top margin in the @page context applies to the page box and is relative to the height of the page box.
page-margin-002 (paged)
@page margins on bottom and left using percentages
A margin declaration within the @page context applies to the page box.
page-props-100-a (paged)
Unqualified Page Contexts (first, right)
A margin declaration within a page context which is not qualified by a pseudo-class (or, for css3, a named page identifier) sets the margins for every page of the document which doesn't match a page context with a :first, :right, or :left pseudoclass (or, for css3, a named page identifier).
page-props-100-b (paged)
Unqualified Page Contexts (first, left)
A margin declaration within a page context which is not qualified by a pseudo-class (or, for css3, a named page identifier) sets the margins for every page of the document which doesn't match a page context with a :first, :right, or :left pseudoclass (or, for css3, a named page identifier).