Tutorials Point


  CSS Home

  CSS Reference
  Pseudo Classes & Elements

Copyright © 2014 by tutorialspoint



  Home     References     Discussion Forums     About TP  

CSS - orphans


previous next AddThis Social Bookmark Button


Advertisements

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>


previous next Printer Friendly

Advertisements


  

Advertisements