1
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
2
<html lang="en">
3
- <!-- $Id: page.src,v 2.41 2004-02-14 00:59:12 bbos Exp $ -->
3
+ <!-- $Id: page.src,v 2.42 2004-12-07 10:10:25 bbos Exp $ -->
4
4
<HEAD>
5
5
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6
6
<TITLE>Paged media</TITLE>
16
16
on computer screens, etc.) differ from <a
17
17
href="./media.html#continuous-media-group">continuous media</a> in
18
18
that the content of the document is split into one or more discrete
19
- pages. To handle pages, CSS 2.1 describes how page margins are set
19
+ pages. To handle pages, CSS 2.1 describes how page margins are set
20
20
on <a href="#page-box">page boxes</a>, and how <a href="#page-breaks">page breaks</a> are declared.
21
21
22
22
<p>The user agent is responsible for transferring the page boxes of a
@@ -50,7 +50,7 @@ box</dfn></span> is a rectangular region that contains two areas:</p>
50
50
<li>The <span class="index-def" title="page area"><a
51
51
name="page-area"><dfn>page area</dfn></a></span>. The page
52
52
area includes the boxes laid out on that page.
53
- The edges of the page area act as the initial <a
53
+ The edges of the first page area act as the initial <a
54
54
href="visudet.html#containing-block-details">containing block</a>
55
55
for layout that occurs between page breaks.
56
56
@@ -73,7 +73,7 @@ all left pages, or all right pages</p>
73
73
74
74
<h3><a name="page-margins">Page margins</a></h3>
75
75
76
- <P>In CSS 2.1, only the <a href="box.html#margin-properties">margin
76
+ <P>In CSS 2.1, only the <a href="box.html#margin-properties">margin
77
77
properties</a> (<span class="propinst-margin-top">'margin-top'</span>,
78
78
<span class="propinst-margin-right">'margin-right'</span>, <span
79
79
class="propinst-margin-bottom">'margin-bottom'</span>, <span
@@ -101,9 +101,9 @@ Here is a simple example which sets all page margins on all pages:
101
101
fonts, so 'em' and 'ex' units are not allowed. Percentage values on
102
102
the margin properties are relative to the dimensions of the <a
103
103
href="#page-box">page box</a>; for left and right margins, they refer
104
- to page box width while for top and bottom margins, they refer to page
105
- box height. All other units associated with the respective CSS 2.1
106
- properties are allowed.
104
+ to the width of the page box while for top and bottom margins, they
105
+ refer to the height of the page box. All other units associated with
106
+ the respective CSS 2.1 properties are allowed.
107
107
108
108
<P>Due to negative margin values (either on the page box or on
109
109
elements) or <a href="visuren.html#absolute-positioning">absolute
@@ -282,8 +282,10 @@ of the following element. When these properties have values other
282
282
than 'auto', the values 'always', 'left', and 'right' take precedence
283
283
over 'avoid'.
284
284
285
- <P>These properties only apply to block level elements that
286
- are in the normal flow of the root element.
285
+ <P>User Agents must apply these properties to block-level elements
286
+ in the normal flow of the root element. User agents may also apply
287
+ these properties to other elements, e.g., 'table-row' elements.
288
+
287
289
288
290
<h3><a name="break-inside">Breaks inside elements</a>: <span
289
291
class="propinst-orphans">'orphans'</span>, <span
@@ -369,9 +371,9 @@ margin, there is at least one with the value 'always', 'left', or
369
371
370
372
<h3>"Best" page breaks</h3>
371
373
372
- <p>CSS2 does <em>not</em> define which of a set of allowed page breaks
373
- must be used; CSS2 does not forbid a user agent from breaking at every
374
- possible break point, or not to break at all. But CSS2 does recommend
374
+ <p>CSS 2.1 does <em>not</em> define which of a set of allowed page breaks
375
+ must be used; CSS 2.1 does not forbid a user agent from breaking at every
376
+ possible break point, or not to break at all. But CSS 2.1 does recommend
375
377
that user agents observe the following heuristics (while recognizing
376
378
that they are sometimes contradictory):</p>
377
379
@@ -424,7 +426,7 @@ as a block to the next page.
424
426
<h2>Cascading in the page context</H2>
425
427
426
428
<P>Declarations in the <a href="#page-context">page context</a> obey
427
- the <a href="cascade.html">cascade</a> just like normal CSS2
429
+ the <a href="cascade.html">cascade</a> just like normal CSS
428
430
declarations.
429
431
430
432
<div class="example"><P>
0 commit comments