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

FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support25.0Not supported89.2Not supported

Mobile browsers

FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support25.0Not supportedNANANot supported

Relative articles