Name

orphans — NN n/a IE n/a CSS 2

Synopsis

Inherited: Yes

Sets the minimum number of lines of a paragraph that must be visible at the bottom of a page where a page break occurs. See the widows attribute for lines to be displayed at the top of a page after a page break.

CSS Syntax

orphans: lineCount

Value

An integer of the number of lines.

Initial Value

2

Applies To

Block-level elements.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.