Ask PHP to print a table of PDF a sheet of paper? How to get

Source: Internet
Author: User
Tags php foreach php print
Would PHP print a table of PDF a sheet of paper? How to do it?
Page code:
HTML Code
  
  
  
  
  
  
  
   
   
       ... ...
  
  
  


It's all printed on a piece of paper.

I want to split up by table. 1 table is a piece of paper

------Solution--------------------
What does this have to do with PHP?
------Solution--------------------
Use the style to control the width and height of the table.

------Solution--------------------
Still a little understand what the landlord wants to express what meaning
------Solution--------------------
The Page-break-before property sets the page-breaking behavior before 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.
  • 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.