11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22<html lang="en">
3- <!-- $Id: page.src,v 2.39 2003-10-08 09:57:01 bbos Exp $ -->
3+ <!-- $Id: page.src,v 2.40 2003-11-06 23:34:42 bbos Exp $ -->
44<HEAD>
55<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66<TITLE>Paged media</TITLE>
1515on computer screens, etc.) differ from <a
1616href="./media.html#continuous-media-group">continuous media</a> in
1717that the content of the document is split into one or more discrete
18- pages. To handle page breaks, CSS2 extends the <a
19- href="visuren.html">visual formatting model </a> as follows:</p>
18+ pages. To handle pages, CSS 2.1 describes how page margins are set
19+ on <a href="#page-box">page boxes </a>, and how <a href="#page-breaks">page breaks</a> are declared.
2020
21- <ol>
22- <li>The <a href="#page-box">page
23- box</a> extends the <a href="box.html#box-model">box
24- model</a> to allow authors to specify page margins.
25-
26- <li>The <span class="index-def" title="page model"><dfn>page
27- model</dfn></span> extends the <a href="visuren.html">visual formatting
28- model</a> to account for <a href="#page-breaks">page breaks.</a>
29- </ol>
30-
31- <p>The CSS 2.1 <a name="page-model">page model</a> specifies how a
32- document is formatted within the <a
33- href="#page-box">page box</a>. The page box does not necessarily correspond to the real <span
34- class="index-def" title="sheet"><dfn>sheet</dfn></span> where the
35- document will ultimately be rendered (paper, transparency, screen,
36- etc.). The user agent is responsible for transferring the page box to the
37- sheet. Transfer possibilities include:</P>
21+ <p>The user agent is responsible for transferring the page boxes of a
22+ document onto the real <span class="index-def"
23+ title="sheet"><dfn>sheets</dfn></span> where the document will
24+ ultimately be rendered (paper, transparency, screen, etc.). There is
25+ often a 1-to-1 relationship between a page box and a sheet, but this
26+ is not always the case. Transfer possibilities include:</P>
3827
3928<ul>
4029<li>Transferring one page box to one sheet (e.g., single-sided printing).
@@ -56,21 +45,24 @@ proper sequence.
5645box</dfn></span> is a rectangular region that contains two areas:</p>
5746
5847<ul>
48+
5949<li>The <span class="index-def" title="page area"><a
6050name="page-area"><dfn>page area</dfn></a></span>. The page
6151area includes the boxes laid out on that page.
6252The edges of the page area act as the initial <a
6353href="visudet.html#containing-block-details">containing block</a>
64- for layout that occurs between page breaks.
65- <li>The margin area, which surrounds the page area.
54+ for layout that occurs between page breaks.
55+
56+ <li>The margin area, which surrounds the page area.
6657</ul>
6758
6859<P>Authors can specify the margins of a page box inside an <span
6960class="index-def" title="@page">@page</span> rule. An @page rule
7061consists of the keyword "@page", followed by an optional page
71- selector, followed by a block of declarations. The declarations are
72- said to be in the <span class="index-def" title="page-context"><a
73- name="page-context"><dfn>page context</dfn></a></span>.</p>
62+ selector, followed by a block of declarations. The declarations in an
63+ @page rule are said to be in the <span class="index-def"
64+ title="page-context"><a name="page-context"><dfn>page
65+ context</dfn></a></span>.</p>
7466
7567<P>The <span class="index-def" title="page selector"><dfn>page
7668selector</dfn></span> specifies for which pages the declarations
@@ -80,9 +72,9 @@ all left pages, or all right pages</p>
8072
8173<h3><a name="page-margins">Page margins</a></h3>
8274
83- <P>The <a href="box.html#margin-properties">margin properties</a>
84- (<span class="propinst-margin-top">'margin-top'</span>, <span
85- class="propinst-margin-right">'margin-right'</span>, <span
75+ <P>In CSS 2.1, only the <a href="box.html#margin-properties">margin
76+ properties</a> (<span class="propinst-margin-top">'margin-top'</span>,
77+ <span class="propinst-margin-right">'margin-right'</span>, <span
8678class="propinst-margin-bottom">'margin-bottom'</span>, <span
8779class="propinst-margin-left">'margin-left'</span>, and <span
8880class="propinst-margin">'margin'</span>) apply within the <a
0 commit comments