DekGenius.com
Previous Section  < Day Day Up >  Next Section

A.3 Paged Media

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

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

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

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

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

    Previous Section  < Day Day Up >  Next Section