The widows property specifies the minimum number of line boxes of a block container that must be left in a fragment after a break.

  • Initial value2
  • Applies toBlock level elements
  • InheritedYes
  • MediaVisual, Paged
  • Computed valueAs specified
  • AnimatableNo
  • CSS VersionCSS2, CSS3
  • JavaScript
Formal syntax: <integer>

widows: 3;
  • <integer>Denotes the minimum amount of lines that can stay alone on the top of a new page. If the value is not positive, the declaration is invalid.
   {widows: 4;

Last updated on 8th April 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.