CSS/Properties/widows

widows

The widows property specifies the minimum number of lines in a block container that must be left at the top of a page.

Description

Values <integer> | inherit
Initial value 2
Applies to block container elements
Inherited Yes


Values

  • <integer>
    Only positive values are allowed.


  • inherit
    Takes the same specified value as the property for the element's parent.


CSS Reference

The CSS specification defines the widows property in 13.3.2 Breaks inside elements.

Last modified on 29 May 2012, at 12:27