{"id":14085,"date":"2011-09-05T20:59:57","date_gmt":"2011-09-06T03:59:57","guid":{"rendered":"http:\/\/css-tricks.com\/?page_id=14085"},"modified":"2022-06-13T08:15:34","modified_gmt":"2022-06-13T15:15:34","slug":"orphans","status":"publish","type":"page","link":"https:\/\/css-tricks.com\/almanac\/properties\/o\/orphans\/","title":{"rendered":"orphans"},"content":{"rendered":"\n
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 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 Note that the In typography terms, an orphan is the first line of a paragraph that is left behind on the old page […]<\/p>\n","protected":false},"author":1036,"featured_media":0,"parent":13939,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"page-almanac-single.php","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":"","_share_on_mastodon":"0","_share_on_mastodon_status":"%title% %permalink%"},"tags":[],"acf":[],"share_on_mastodon":{"url":"","error":""},"jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/14085"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/1036"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=14085"}],"version-history":[{"count":8,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/14085\/revisions"}],"predecessor-version":[{"id":366381,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/14085\/revisions\/366381"}],"up":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/13939"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=14085"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=14085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}orphan<\/code> 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<\/code>.<\/p>\n\n\n\n
@media print {\n p {\n orphans: 3;\n }\n}<\/code><\/pre>\n\n\n\n
inherit<\/code>.<\/p>\n\n\n\n
orphan<\/code> property does not generally affect non-paged media such as
screen<\/code>. However, browsers supporting both
orphans<\/code> and
columns<\/code> will apply the intended functionality to columns as well. Also, the property only affects block-level elements.<\/p>\n\n\n\n
widows<\/code> = minimum number of lines in a paragraph split on the new<\/strong> page.
orphans<\/code> = minimum number of lines in a paragraph split on the old<\/strong> page.<\/div>\n\n\n\n
Other resources<\/h3>\n\n\n
Browser support<\/h3>\n\n\n
Chrome<\/th> Safari<\/th> Firefox<\/th> Opera<\/th> IE<\/th> Android<\/th> iOS<\/th><\/tr><\/thead> 25+<\/td> None<\/td> None<\/td> 9.2+<\/td> 8+<\/td> None<\/td> None<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"