Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8306985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:26:20+00:00 2026-06-08T18:26:20+00:00

I have the following HTML> jsfiddle . When I output it to PDF using

  • 0

I have the following HTML> jsfiddle.
When I output it to PDF using DOMPDF, on the first page I got the 2 first rows, than I got 10 empty pages and than 2 pages with the rest of the content.

How can I break the table so it will spread on the correct number of pages?
I tried to use page-break-inside: avoid; on the main table, but It ruined the broken row.

enter image description here

I want it to break like you expect it to break but I have no idea how…

Any help would be appreciated.
Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T18:26:21+00:00Added an answer on June 8, 2026 at 6:26 pm

    The rendering issue is due to a known bug related to a single entity that is too large to fit on a page. In your case, your product list table (which is larger than a page) is contained within another table, which creates a table cell too large to fit on a page. See the dompdf tracker, issue 91: dompdf unable to split table cells between pages.

    Luckily, your layout is such that the work around is fairly simple. Move the product list table outside the container. I updated your original jsfiddle.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following automatically-generated HTML: http://jsfiddle.net/BrV8X/ What is the advised way, using CSS,
I have the following HTML and CSS in a jsfiddle : <div class=MyBox> <div
I have the following HTML: <ul> <li>FIRST</li> <li>SECOND</li> <li>THIRD</li> <li>FOURTH</li> <ul> And the following
I have following code (html,js,jquery) snippet ( http://jsfiddle.net/MUScJ/2/ ): <script type=text/javascript> function someFunc(){ html
I am sure this is simple but... I have the following: http://jsfiddle.net/SUBH3/1/ HTML: <div
I have following html markup, bit more than demo here with mixture of li/ul
I have the following code: http://jsfiddle.net/cosoroaba/nCEwv/ HTML: <div id=square> <div class=corner-wrapper> <div id=ctr></div> </div>
I have the following CSS/HTML setup http://jsfiddle.net/UDAUY/ How do I align the drop down
JsFiddle DEMO I have the following html: <ul> <li> <div></div> Testing </li> <li> <ul>
I have the following HTML logical blocks : The first one is a sortable

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.