The orphans
property sets or gets
the minimum number of lines that must be
visible at the bottom of a page for printing or print preview.
Style orphans |
Yes | 9.0 | No | No | Yes |
Return the orphans property:
var v = object.style.orphans
Set the orphans property:
object.style.orphans='number|initial|inherit'
Value | Description |
---|---|
number | An integer to set the minimum number of visible lines. Negative values are not allowed. The default value is 2. |
initial | Set to default value |
inherit | Inherit from parent element. |
Default Value: | 2 |
---|---|
Return Value: | A string representing the minimum number of lines to print at the bottom of the page |
CSS Version | CSS2 |