• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 18. Paged Media > windows and orphans Properties

18.5. windows and orphans Properties

“Widows” and “orphans” are old printing terms used to specify the minimum amount of lines of text that should appear at the top and bottom of a printed page, respectively. The CSS2 properties accomplish the same thing, ensuring that a minimum amount of text appears at the top and bottom of each page.

Both the widows and orphans properties share the same values: an integer value that assigns the number of lines that must appear in a paragraph before it is forced to move to another page (one way or the other), and the named value inherit, which takes on whatever parent value may have already been set. The default numeric value for both widows and orphans is 2, ensuring that at least two lines of text in a paragraph are either at the top or bottom of a page before a page break will occur. These properties are designed only to be used with block-level elements, such as <p> or <div>.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint