Web paging Control

Source: Internet
Author: User
Tags blank page

Web Printing is often limited. If it is difficult to implement paging printing control without external force, I finally found a better method to control paging printing, the detailed usage of page-break-after using CSS is as follows:

Syntax:
 
Page-break-after:Auto|Always|Avoid|Left|Right|Null
 
Parameters:
 
Auto:If you need to insert a page delimiter after the object
Always:Always insert a page delimiter after the object
Avoid:Avoid inserting page delimiters behind objects
Left:Insert a page delimiter after the object until it reaches the left edge of a blank page.
Right:Insert a page delimiter after the object until it reaches a blank right page.
Null:Null Value. Ie5 is used to Cancel Page delimiter settings
 
Note:
 
The page delimiter that appears after the object is retrieved or set.
Ie5 only supports the always and blank values (Null).
In ie4, this attribute does not act on the BR object, but ie5 does.
Corresponding script features:Pagebreakafter. For more information, see my other bibliography.
 
Example:
 
P {page-break-after: Always ;}

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.