Section A.3. Paged Media


A.3. Paged Media

A.3.1. orphans

This specifies the minimum number of text lines within the element that can be left at the bottom of a page. This can affect the placement of page breaks within the element.


Values:

<integer> | inherit


Initial value:

2


Applies to:

Block-level elements


Inherited:

Yes


Computed value:

As specified

A.3.2. page-break-after

This declares whether page breaks should be placed after an element. While it is possible to force breaks with always, it is not possible to guarantee prevention; the best an author can do is ask the user agent to avoid inserting a page break if possible.


Values:

auto | always | avoid | left | right | inherit


Initial value:

auto


Applies to:

Nonfloated block-level elements with a position value of relative or static


Inherited:

No


Computed value:

As specified

A.3.3. page-break-before

Declares whether page breaks should be placed before an element. While it is possible to force breaks with always, it is not possible to guarantee prevention; the best an author can do is ask the user agent to avoid inserting a page break if possible.


Values:

auto | always | avoid | left | right | inherit


Initial value:

auto


Applies to:

Nonfloated block-level elements with a position value of relative or static


Inherited:

No


Computed value:

As specified

A.3.4. page-break-inside

This declares whether page breaks should be placed inside an element. Because an element might be taller than a page box, it is not possible to guarantee prevention; the best an author can do is ask the user agent to avoid inserting a page break if possible.


Values:

auto | avoid | inherit


Initial value:

auto


Applies to:

Nonfloated block-level elements with a position value of relative or static


Inherited:

Yes


Computed value:

As specified

A.3.5. widows

This specifies the minimum number of text lines within the element that can be left at the top of a page. This can affect the placement of page breaks within the element.


Values:

<integer> | inherit


Initial value:

2


Applies to:

Block-level elements


Inherited:

Yes


Computed value:

As specified




CSS(c) The Definitive Guide
CSS: The Definitive Guide
ISBN: 0596527330
EAN: 2147483647
Year: 2007
Pages: 130
Authors: Eric A. Meyer

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net