最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

page-break-after Attribute | pageBreakAfter Property

Internet Development Index

Sets or retrieves a value indicating whether a page break occurs after the object.

Syntax

HTML { page-break-after : sBreak }
Scriptingobject.style.pageBreakAfter [ = sBreak ]

Possible Values

sBreakString that specifies or receives one of the following values.
alwaysAlways insert a page break after the object.
autoDefault. Neither force nor forbid a page break after the object.
empty stringDo not insert a page break.
leftCurrently works the same as always.
rightCurrently works the same as always.

The property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has a default value of auto. The Cascading Style Sheets (CSS) attribute is not inherited.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

This property applies when printing the document. This property does not apply to the BR or HR elements.

If there are conflicts between this property and the pageBreakBefore value on the object previously displayed in the browser, the value that results in the largest number of page breaks is used.

Page breaks are not permitted inside positioned objects.

Examples

The following examples use the page-break-after attribute and the pageBreakAfter property to start printing on a new page.

This example uses the p element as a selector in an embedded style sheet to break the page at the end of all paragraphs.

<STYLE>
P { page-break-after: always }
</STYLE>
</HEAD>
<BODY>
<P>
:
</P>
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

This example uses a call to a function to turn off the page break after the object that has an ID value of idParagraph.

<SCRIPT>
function offBreak()
{
idParagraph.style.pageBreakAfter="";
}
</SCRIPT>
</HEAD>
<BODY>
<BUTTON onClick="offBreak()">Turn Off Break</BUTTON>
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

This property is defined in Cascading Style Sheets (CSS), Level 2 (CSS2) Non-Microsoft link.

Applies To

BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, currentStyle, DD, DIR, DIV, DL, DT, FIELDSET, FORM, hn, ISINDEX, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, runtimeStyle, style, TABLE, TBODY, TFOOT, TH, THEAD, TR, UL, XMP
阜康市| 本溪| 正阳县| 安龙县| 陕西省| 曲麻莱县| 阜宁县| 合水县| 长武县| 柞水县| 安多县| 民丰县| 德惠市| 宁晋县| 新巴尔虎右旗| 闽清县| 威海市| 雅江县| 库尔勒市| 麻阳| 龙泉市| 新余市| 固阳县| 额尔古纳市| 镇沅| 丹东市| 突泉县| 广河县| 秦皇岛市| 巨鹿县| 邛崃市| 华安县| 井陉县| 新绛县| 普格县| 辰溪县| 西畴县| 安化县| 睢宁县| 汕头市| 弋阳县|