The use and definition of CSS page-break-inside properties

Source: Internet
Author: User
Grammar:

Page-break-inside:auto | Avoid

Parameters:

Auto: If you need to insert a page separator in the object container
Avoid: Prevents insertion of page separators in the current object container

Description
Retrieves or sets the page delimiter that appears in the object container.
Currently IE5.5 does not support this property.
The corresponding script attribute is pagebreakinside. Please refer to the other bibliography I have written.

Example:

p {Page-break-inside:auto}

The function of the Page-break-inside property in CSS is to set the paging behavior inside the element.

Page-break-inside attribute Instance

Page-break-inside Definition and usage

The Page-break-inside property sets the page-breaking behavior inside the element.

Although it is possible to force page breaks with always, there is no guarantee that the insertion of page breaks can be avoided, and the creator can only require the user agent to avoid inserting paging as much as possible.

Applies to: Non-floating block-level elements with a position value of relative or static.

Note: Use as few pagination properties as possible, and avoid using pagination properties in tables, floating elements, and block elements with borders.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.