Title: Style changes when document has multiple pages
Last modified: August 31, 2021

---

# Style changes when document has multiple pages

 *  Resolved [Christoph Jaenisch](https://wordpress.org/support/users/campaz/)
 * (@campaz)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/style-changes-when-document-has-multiple-pages/)
 * Hi,
 * I trying to customize the template but I am getting some strange behaviour with
   the page break.
    I made a seperate table for the totals like this:
 *     ```
       <table style="width: 100%" class="order-details">
       	<tr class="no-borders">
       		<td class="no-borders" style="width: 50%">
                         ...
       		</td>		
       		<td class="no-borders" style="width: 50%">
                           <table class="totals">
                           ...
                           </table>
                        </td>
              </tr>
       </table>
       ```
   
 * The 50% width is showing correctly if the proforma only has 1 page.
    But if the
   table is breaking to page 2, the 2nd <td> is getting 100% instead of 50% (first
   <td> is usually empty but if I put some dummy text inside, it still does not 
   resize to 50% but to the content width)
 * I don’t get why it matters if this table is on page 1 or 2.
    Do you have an idea
   how to fix this?
 * Our versions:
    WP 5.8 WC 5.6.0 WooCommerce PDF Invoices & Packing Slips 2.9.3
   WooCommerce PDF Invoices & Packing Slips Pro 2.9.2
 * Thanks in advance!
    Best regards, Christoph
    -  This topic was modified 4 years, 8 months ago by [Christoph Jaenisch](https://wordpress.org/support/users/campaz/).
    -  This topic was modified 4 years, 8 months ago by [Christoph Jaenisch](https://wordpress.org/support/users/campaz/).

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [alexmigf](https://wordpress.org/support/users/alexmigf/)
 * (@alexmigf)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/style-changes-when-document-has-multiple-pages/#post-14823098)
 * Hi [@campaz](https://wordpress.org/support/users/campaz/)
 * Because you have the [Professional extension](https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-professional/),
   and we aren’t allowed to provide support for paid products here in the forums,
   I recommend you to contact us by email to [support@wpovernight.com](https://wordpress.org/support/topic/style-changes-when-document-has-multiple-pages/support@wpovernight.com?output_format=md)
 * We will do our best to help you!

Viewing 1 replies (of 1 total)

The topic ‘Style changes when document has multiple pages’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [alexmigf](https://wordpress.org/support/users/alexmigf/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/style-changes-when-document-has-multiple-pages/#post-14823098)
 * Status: resolved