CSS - orphans


Description:

The orphans property is used to set the minimum number of lines in an element that must appear at the bottom of a page.

Possible Values:

  • integer: The number given sets the minimum number of lines permitted at the bottom of a page.

Applies to:

All the block-level elements.

DOM Syntax:

object.style.orphans="10"

Example:

Here is the example:

<style type="text/css"> p {orphans: 3;} ol {orphans: 5;} </style>





Spacer Bottom Left Corner ImageBottom Right Corner Image
Valid XHTML 1.0 Strict  Valid CSS! Check the accessibility of this site according to U.S. Section 508