CSS3.com


CSS WIDOWS

This property specifies the minimum number of lines of content for the current element that must be left at the top of a page in a paged display environment.

Example
p { widows: 1 }

test text in the paragraph


Possible Values
inherit: Explicitly sets the value of this property to that of the parent.
[integer]: Specifies an integer value representing the minimum number of lines of content that must be left at the top of a page.


Go Back