www.webdeveloper.com
Results 1 to 3 of 3

Thread: what is "Orphans" in css

  1. #1
    Join Date
    Jan 2014
    Posts
    5

    what is "Orphans" in css

    What is "orphans" in css. Thanks

  2. #2
    Join Date
    Oct 2013
    Location
    3rd planet from the sun
    Posts
    167
    In typography terms, an orphan is the first line of a paragraph that is left behind on the old page while the paragraph continues on the next. The orphan property controls the minimum number of lines of a paragraph that can be left on the old page. This property only affects paged media such as print.

    For example, if a paragraph can't fit on one page in its entirety it is split wherever it is possible. In this way single lines of a paragraph can appear on page before it continues on the next page. This is usually unwanted, so many word processors require at least two lines to be left on an old page, instead of one. You can give it either a positive number (where 2 is the default) or inherit.

    Note that the orphan property does not generally affect non-paged media such as screen.

  3. #3
    Join Date
    Oct 2013
    Posts
    30
    CSS Tricks has a broad explanation about CSS Orphans: http://css-tricks.com/almanac/properties/o/orphans/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles