orphans property CSS Reference



Definition and Usage

The orphans CSS property refers to the minimum number of lines in a block container that must be left at the bottom of the page. This property is normally used to control how page breaks occur.

  • Initial 2
  • Applies to block container elements
  • Inherited yes
  • Media visual, paged
  • Computed Value as specified
  • Animatable no
  • Canonical order the unique non-ambiguous order defined by the formal grammar

Syntax

Formal syntax: <integer>
orphans: 3
orphans: 0
orphans: inherit

Values

<integer>
Only positive values are allowed.
inherit
Takes the same specified value as the property for the element's parent.

Examples

No examples


Compatibility

Desktop browsers

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 25.0 Not supported 8 9.2 Not supported

Mobile browsers

Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support 25.0 Not supported NA NA Not supported

Relative articles