/

HTML / CSS / JavaScript Tutorial

CSS Property: orphans

[this page | pdf]

The CSS (CSS3) orphans property indicates the minimum number of lines of a paragraph that can be left on an old page. It works primarily with paged media, in which content is split into pages.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

number

Integer

 

Default Value:

2

JavaScript syntax:

e.g. object.style.orphans="3"

Inherited:

No

Animatable:

Yes

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile