1. Computing

Discuss in my forum

widows

By , About.com Guide

widows Description:

The widows property defines the minimum number of lines of a paragraph that must be left at the top of a page.

widows in CSS Versions:

widows Syntax:

widows: <integer> | inherit

  • <integer>
    A non-negative number of lines to be left.
  • inherit
    The element should have the same widows setting as the parent.

widows Initial Value:

2

widows Applies To:

widows Inheritance:

This property is inherited.

widows Browser Support:

widows media type:

  • Paged
  • Visual

widows Examples:

A paragraph with a widows

<p style="widows: 4;">
 This paragraph will have 4 lines for widows.
 </p>

widows Special Notes:

  • Internet Explorer 6 does not support this property.
  • This property primarily works with paged media, where the content is split into pages, such as print or transparencies.

More widows Information

Return to the Style Library

More About the widows Property
Related Style Properties

©2013 About.com. All rights reserved.