CSS orphans Property
Description
The orphans property controls how many lines of a block-level element must be left at the bottom of a page, column, or other forced break. In practical terms it prevents a paragraph from leaving only a very small number of lines at the end of a page (commonly a single line), which would separate the remainder of the paragraph onto the next page and produce a typographic awkwardness often called an “orphan.” When a break would produce fewer lines than the configured minimum, the formatting engine will try to move the break so that at least that many lines remain, which can cause the break to occur earlier (pushing more content to the next page) or to shift content within the current page to satisfy the constraint.
The property is typically used alongside complementary pagination controls to achieve consistent, readable pagination. For example, it is commonly tuned together with widows, which sets the minimum number of lines that must appear at the top of a page or column, so authors can ensure both ends of a page break meet typographic expectations. It also interacts conceptually with fragmentation rules such as those controlled by break-inside; when a break-inside prohibition or restriction is in effect, the formatting engine reconciles those constraints with the orphan/widow minimums to decide where breaks are allowed.
For authors and designers, orphans is an important fine-tuning tool for printed documents, multi-column layouts, and any situation where content is paginated. Raising the number can improve the visual flow of paragraphs in print-like presentations but may also increase the amount of white space or cause more page breaks, so it should be used judiciously. Keep in mind that behavior can vary across rendering engines and that on continuously scrolling media (typical web pages) pagination rules may be less relevant or ignored; testing in the target rendering environment (print preview, PDF generator, or column layout) is recommended to see the concrete effects.
Definition
- Initial value
- 2
- Applies to
- Block level elements
- Inherited
- Yes
- Computed value
- As specified
- Animatable
- No
- JavaScript syntax
- object.style.orphans
Syntax
orphans: <integer>
Values
- <integer>Only positive values are allowed.
Example
Browser Support
The following information will show you the current browser support for the CSS orphans property. Hover over a browser icon to see the version that first introduced support for this CSS property.
This property is supported in some modern browsers, but not all.
Desktop
Tablets & Mobile
Last updated by CSSPortal on: 1st January 2026
