Name
widows — 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 top of a page after a page break occurs. See the
orphans
attribute for lines to be displayed at the
bottom of a page before a page break.
CSS Syntax
widows: 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.