October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

Fix Cut-Off Tables When Converting HTML to PDF

Find why HTML table rows clip or split across PDF pages, then test print CSS and table structure in your production renderer.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If rows or table content are clipped at PDF page boundaries, first identify the renderer and version that generated the file. For rows that fit in the printable area, try break-inside: avoid in print CSS, retain a semantic <thead> for repeating headings, and verify the result in the exact production runtime. No break rule can keep an oversized row intact on one page.

1. Identify the renderer and confirm its print mode

Pagination depends on the PDF engine, its version, the document, and its print settings. A browser print dialog, Puppeteer/Chromium, and older wkhtmltopdf builds may behave differently. Historical wkhtmltopdf reports illustrate particular version-specific row-splitting problems; they do not establish how every current build behaves. See the reports for wkhtmltopdf issue 2099 and issue 2141.

Record the engine and version used in production, then check whether PDF generation uses print media. Puppeteer’s page.pdf() uses print CSS by default; if the workflow is intended to render screen CSS instead, its documentation says to emulate screen media before generating the PDF. See the Puppeteer Page.pdf documentation.

2. Keep rows together when they can fit

Use print styles to discourage a page break within a row. The legacy page-break-inside alias may also be useful for older workflows. These rules are not a guarantee that every renderer will paginate every table identically, so inspect generated output.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Epson Workforce ES-50 Compact & Lightweight Mobile Document Scanner
  • PORTABLE SCANNER FOR USE ON-THE-GO — The fastest and lightest mobile single-sheet-fed compact document scanner in its class¹
  • QUICK DOCUMENT SCANNING ― This Epson ultra-fast scanner scans a single page as quickly as 5.5 seconds²; Windows and Mac compatible
  • VERSATILE PAPER HANDLING ― Portable scanner scans documents up to 8.5 x 72 in; Also easily digitizes receipts and ID cards to make accounting, bookkeeping, and organizing simpler
  • INTUITIVE, HIGH-SPEED SOFTWARE — Epson ScanSmart Software³ is a smart tool allowing you to easily scan, review, and save; Stay organized easily with the help of this Epson scanner
  • EASY SETUP — USB-powered connect to your computer for quick and simple scanning; No batteries or external power supply required to operate portable document scanner; Standard Connectivity: USB 2.0
@media print {
  tr,
  .keep-together {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

Apply the rule selectively to table rows or suitable containers. It can help when the complete row fits in the remaining or next printable page area. If a row is taller than the usable page, the renderer cannot keep it intact on one page: shorten or restructure its content, or accept a controlled split. The W3C CSS Print Profile describes page-break avoidance and the behavior of elements longer than a page.

3. Preserve table semantics and repeating headings

Use actual table markup rather than replacing table sections with generic containers. Mark the column headings with <thead> and data rows with <tbody>:

Rank #2
Sale
Brother DS-640 Compact Mobile Document Scanner, (Model: DS640)
  • FAST SPEEDS - Scans color and black and white documents a blazing speed up to 16ppm (1). Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • ULTRA COMPACT – At less than 1 foot in length and only about 1. 5lbs in weight you can fit this device virtually anywhere (a bag, a purse, even a pocket).
  • READY WHENEVER YOU ARE – The DS-640 mobile scanner is powered via an included micro USB 3. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan.
  • WORKS YOUR WAY – Use the Brother free iPrint&Scan desktop app for scanning to multiple “Scan-to” destinations like PC, Network, cloud services, Email and OCR. (2) Supports Windows, Mac and Linux and TWAIN/WIA for PC/ICA for Mac/SANE drivers. (3)
  • OPTIMIZE IMAGES AND TEXT – Automatic color detection/adjustment, image rotation (PC only), bleed through prevention/background removal, text enhancement, color drop to enhance scans. Software suite includes document management and OCR software. (4)
<table>
  <thead>
    <tr><th>Item</th><th>Details</th></tr>
  </thead>
  <tbody>
    <tr><td>Example</td><td>Description</td></tr>
  </tbody>
</table>

The W3C print guidance assigns table headers a table-header-group role for printer behavior. Check that print CSS has not changed <thead> to a conflicting display type if headings fail to repeat. See the W3C CSS Print Profile.

4. Check page geometry and difficult cell content

A row that appears cut off may be affected by more than its break rule. Review the PDF page setup and the contents that determine row height:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
  • STAY ORGANIZED – Easily convert your paper documents into digital formats like searchable PDF files, JPEGs, and more.Power Consumption : 2.5W or less (Energy Saving Mode: 0.7W). Suggested Daily Volume : 500 scans..Does it contain liquid: no
  • CONVENIENT AND PORTABLE –lightweight and small in size, you can take the scanner anywhere from home offices, classrooms, remote offices, and anywhere in between
  • HANDLES VARIOUS MEDIA TYPES – Digitize receipts, business cards, plastic or embossed cards, reports, legal documents, and more
  • FAST AND EFFICIENT – No technical hurdles or complicated setups here; easily scan both sides of a document at the same time, in color or black-and-white, at up to 12 pages-per-minute, and with a 20 sheet automatic feeder
  • BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer
  • Paper size, orientation, and margins, which determine the printable area.
  • Cell padding and font size, which can make a row exceed the available space.
  • Long unbreakable strings and large images, which can force wide or tall cells.
  • rowspan and other complex table structures, whose pagination behavior can vary by implementation.

The W3C’s CSS 2.2 Paged Media specification notes that content can be cut at page boundaries under some paged-media conditions. Renderer-specific pagination documentation also illustrates why complex cases need testing in the selected engine; see sghtmltopdf pagination documentation.

5. Test the PDF in the production runtime

A standards rule is a useful starting point, not proof that a particular converter produces the intended file. Generate and inspect PDFs using the same renderer version and settings as production. Include short rows, long rows, rows near page boundaries, tables spanning multiple pages, and the rowspan or colspan patterns present in your documents.

Rank #4
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
  • IRIScan Express, portable scanner : scans color and black and white documents a blazing speed up to 8ppm simplex. Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • IRIScan Express mobile scanner is powered via an included micro USB 2. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan. USB cable provided. AC Adapter not provided and not needed.
  • IRIScan flatbed scanner uses a simplex scanning mode allows for quick and straightforward scanning of single-sided documents. IRIScan with its full portable features is the ideal document scanners for computers.
  • IRIScan document scanner : Versatile scanning capabilities, including scanning to Word, PDF, and Excel formats with companion software provided Readiris OCR
  • Receipt scanner and card scanner with Additional features include scanning business cards directly to Outlook, photo scanning, and receipt scanning for efficient document management

6. Troubleshoot common symptoms

Symptom What to check Next step
A row splits even with break avoidance Whether it fits in the printable page area; the renderer and version; CSS support and page geometry. Reduce or restructure an oversized row. For rows that fit, test the rule in the production renderer.
PDF output ignores expected print styles Which media type the PDF workflow uses. For Puppeteer, note that page.pdf() uses print media by default. If screen CSS is intentional, emulate screen media before generating the PDF.
Table headings do not repeat Whether headings are in a semantic <thead> and whether print CSS overrides its display role. Restore the table header group behavior and inspect a multi-page table.
Only certain complex rows clip or split Long content, images, rowspan, cell sizing, margins, and orientation. Test representative structures and adjust content or page geometry; behavior can be implementation-specific.
One engine works but another does not Differences in engine version, CSS support, and pagination implementation. Reproduce using the deployed runtime. Do not generalize a historical issue report to every current build.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

7. Choosing a renderer

There is no established universal ranking of PDF engines for table pagination. Compare the exact versions and HTML structures your project needs, including row-level break avoidance, oversized cells, rowspans, repeated headings, media selection, and page-size and margin controls. Historical issue reports and renderer documentation can guide investigation, but your production output is the deciding test.

Or skip the browser setup

If you need a clean capture of a page rather than a locally rendered PDF, ScreenshotNeo is a website screenshot API and MCP server. Its API can return screenshots or PDFs; the call below requests a PDF for your page. See the ScreenshotNeo API documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

SaleBestseller No. 3
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer; This product is not intended for scanning photographs on photo paper / photographic media
$153.00
Bestseller No. 4
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
Find our Software here : irislink.com/start; IRIScan Express is only compatible Windows platform and not macintosh
$129.00
Bestseller No. 5
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Scanner type: Document; Connectivity technology: USB; With Auto Scan Mode, the scanner automatically detects what you're scanning
$75.00
Best Value
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
  • Scanner type: Document
  • Connectivity technology: USB
  • With Auto Scan Mode, the scanner automatically detects what you're scanning
  • Digitize documents and images
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -d format=pdf -o page.pdf

ScreenshotNeo accepts cookie and consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each step can be turned off. Bot checks, blank pages, failed loads, timeouts, and cache hits are not billed, and response headers report the page verdict and billing status. Its MCP server lets AI agents use screenshot tools, and 1,000 screenshots a month are free with no card; paid plans start at $5 for 3,000. Sign up for ScreenshotNeo’s free plan.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Shenzhen desk3 min
    HONOR Expands Beyond Smartphones With Humanoid Robot RevealHONOR said it unveiled its first humanoid robot at MWC 2026 and named shopping assistance, workplace inspections, and supportive companionship as intended uses. Later Robotics D1 claims and a reported…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.