CSS ORPHANS

  • Share
  • Share

This property specifies the minimum number of lines of content for the current element that must be left at the bottom of a page in a paged display environment.

 

Example

p { orphans: 4 }

<p style=”orphans: 4″>test text in the paragraph</p>

 

Possible Values

Value Description
inherit Explicitly sets the value of this property to that of the parent.
[integer] Specifies an integer value representing the minimum number of lines of content that must be left at the bottom of a page.