Export (0) Print
Expand All
top
Expand Minimize

orphans

Expression Studio 4.0

Sets the minimum number of lines of a paragraph that must appear at the bottom of a page.

Syntax

{ orphans: nLines }

Possible values

nLines

Variant that specifies or receives the minimum number of lines to print at the bottom of a page.

The property has a default value of 0. The Cascading Style Sheets (CSS) attribute is not inherited.

Remarks

This property applies when the document is printed. If there are fewer lines than necessary to satisfy this rule, the lines are moved to the following page. The widows attribute takes precedence over the orphans attribute.

Examples

The following style rule ensures that at least three lines of a paragraph appear at the bottom and top of each printed page.

<meta http-equiv="X-UA-Compatible" content="IE=8" />

<style type="text/css">
@media print {
    p {
        widows:3;
        orphans:3;
    }
}
</style>

Standards Information

important noteImportant

This documentation is preliminary and subject to change.

Applies to

a, address, b, big, blockquote, body, caption, center, cite, code, col, colgroup, dd, dfn, dir, div, dl, dt, em, fieldset, form, hn, html, i, kbd, label, legend, li, listing, marquee, menu, ol, p, pre, s, samp, small, span, strike, strong, style, sub, sup, table, tbody, td, textarea, tfoot, th, thead, tr, tt, u, ul, var, xmp

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show:
© 2014 Microsoft