Your `<style>` rules are applied to the HTML and the result is drawn to PDF as it renders on screen. Print-only CSS (@media print, @page, page-break rules) is ignored: pages are cut at fixed heights.
When to use this
Use for: rendering React/Vue-generated HTML to PDF, exporting custom-designed reports with brand fonts and colors, archiving styled HTML emails to PDF.
Frequently Asked Questions
Does @page CSS work?
No. The page is drawn as it looks on screen; @media print and @page rules are not used, and pages are cut at fixed heights. Set the margin with the None, Small or Normal option and the orientation in the tool instead.
How do I force a page break in HTML?
You can't in this tool. CSS break rules such as `break-before: page;` are ignored and pages are cut at fixed heights, so a line near a cut can be split across two pages.
Powered by HTML to PDF.