CSS Home
CSS Reference
Pseudo Classes & Elements
© 2013 TutorialsPoint.COM
|
CSS - orphans
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>
|
Advertisements
|
|
|