Little Web Hut

CSS 2.1 Reference: widows Property

CSS widows Property
selector {widows: value ;}
  • value is specified by using an integer or the keyword inherit.

The widows property is used with paged media. Paper, and discrete pages displayed on a computer screen, are both examples of paged media. This property specifies the element's minimum number of lines to display at the top of a page. This prevents an element from being split between pages at an undesired position.

  • inherit - The inherit keyword is used to specify that the value for this property should be taken from the parent element. If inherit is used with the root element, then the initial value for this property will be used.
Applies To Block container elements
Inherited Yes
Initial Value 2