iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
If you can edit the webpage, inspect its print layout and use CSS break controls selectively before creating the PDF again. If you only have the finished PDF, there is no universal repair sequence established here: the right diagnosis depends on the source page, the browser or conversion engine, and the PDF itself.
First identify where you can make the change
A PDF saved from a long webpage may reflect print-specific CSS, the settings used to create it, or how its renderer handled page breaks. Start by determining whether you can edit the original page or its print stylesheet, and whether you can regenerate the PDF. If you only have the PDF, keep a copy of the original and note which pages or elements break incorrectly; a reliable repair cannot be prescribed without examining that file and knowing how it was made.
- You control the webpage: inspect and adjust its print styles, then regenerate and review the PDF in the intended renderer.
- You can regenerate but cannot edit the page: review the available print preview, page size, and margins. The available evidence does not establish one browser or conversion product as the best choice.
- You have only the PDF: this guidance does not establish a universal PDF-editor procedure. Diagnosis depends on the actual file and how it was produced.
Inspect the page as it will print
A page’s screen layout and its print layout can differ. Check the print preview rather than assuming the screen view predicts the PDF. MDN documents @media print for print-specific styles and @page for printed-page rules. Review the page size and margins in the output settings as well as the page’s own print rules.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Look for where the bad breaks occur: a heading separated from the paragraph it introduces, a figure split from its caption, or a large section divided awkwardly. If you can edit the source, apply a keep-together rule only to the small related units that need it.
#1 Best Overall
- 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
Use break-inside selectively in the print stylesheet
For a box that should not be split internally, use break-inside: avoid. MDN describes break-inside as controlling page, column, or region breaks inside a generated box. For new styles, use this property rather than the older page-break-inside name, which remains a compatibility alias.
@media print {
.keep-together {
break-inside: avoid;
}
}
Add the class to a targeted element, such as a figure and its caption wrapped together:
Rank #2
- 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)
<figure class="keep-together">
<img src="chart.png" alt="Quarterly results">
<figcaption>Quarterly results</figcaption>
</figure>
Do not apply the rule indiscriminately to every element. A large element can force awkward blank space if the renderer moves the whole box to the next page, and an element taller than the printable area cannot stay intact on one page while preserving all its content.
Recommended Free Tools
Understand what break avoidance can and cannot do
break-inside: avoid expresses a preference for avoiding a break inside the selected box; it does not guarantee that every browser or conversion engine will produce identical pagination. The rule applies to the box that receives it, not automatically to all of its descendants or neighboring elements. If the content is too tall for a page, it must continue across pages to preserve the content. W3C print-profile guidance addresses continuation across pages, while CSS 2.2 leaves user agents room to choose among allowed break points: W3C CSS Print Profile and CSS 2.2 paged media.
Rank #3
- 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
Regenerate and check the exact output
- Make one targeted print-style change, such as applying
break-inside: avoidto a figure-and-caption wrapper. - Open print preview or regenerate the PDF using the browser or conversion engine that will produce the final archive.
- Check the affected pages, including the page before and after each changed break. Confirm that no content disappeared and that headings, figures, and captions remain in a readable order.
- If a block leaves excessive whitespace or still splits, reconsider the selected box and its size. Adjusting the print layout may be more appropriate than trying to force an oversized block onto one page.
Standards describe the controls and intended behavior, but they do not establish identical results across browsers, versions, or conversion engines. A report that page breaks “gradually start moving down a document” is one user’s anecdote, not proof that progressive drift always has the same cause.
Troubleshoot by symptom
- A figure separates from its caption: wrap them in one suitable container and apply the print rule to that container. Check the result in the target renderer.
- A heading is stranded at the bottom of a page: inspect the heading’s print styles and the following content. The evidence here does not establish a universal heading-specific fix; test any adjustment in the output renderer.
- A large section moves wholesale and leaves a gap: the selected box may be too large to fit in the remaining printable space. Narrow the rule to a smaller related unit, or allow the large section to flow across pages.
- The break still occurs inside the selected element: verify that the rule is applied to the box you mean to keep together, then check the regenerated result. Renderer behavior can vary, and the rule is not a guarantee.
- Breaks drift across successive pages: do not assume one cause based on the pattern alone. Compare the print stylesheet, output settings, source content, and the renderer that created the PDF.
Or skip the browser setup:
For a fresh capture of a webpage, ScreenshotNeo can return a screenshot or PDF through one GET request. Its clean-shot steps accept cookie or consent banners and remove more than 60 known consent platforms, newsletter popups, and chat widgets; each step can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers indicate the page verdict and whether the capture was billed. Its MCP server provides take_screenshot, get_page_info, and capture_pdf for AI agents using Claude, Cursor, or another MCP client. The free plan includes 1,000 shots a month with no card; paid plans start at $5 for 3,000 shots.
cURL example, capturing the page as a PDF:
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
See the ScreenshotNeo documentation for API options. Sign up for 1,000 free screenshots a month with no card.
Rank #4
- 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
Frequently Asked Questions
Does break-inside: avoid stop every PDF page break?
No. It is a break-avoidance rule for the selected box, not a guarantee across renderers; content taller than a printable page still has to flow across pages.
Can I repair page breaks if I only have the PDF?
There is no universal PDF-only repair sequence established here. The useful next step depends on the file and how the PDF was created.
Quick Recap
Best Value
- Scanner type: Document
- Connectivity technology: USB
- With Auto Scan Mode, the scanner automatically detects what you're scanning
- Digitize documents and images
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.

