Fix Web Page Backgrounds When Printing to PDF in Chrome or Internet Explorer
Question details
The user wants a web page's background color to appear correctly across the page when printing to PDF.

- Product
- Google Chrome or Internet Explorer PDF printing
- Device & OS
- not provided
- Scenario
- A web page displays its background correctly online, but the user needs to save it as a PDF.
- Observed behavior
- The background color may not cover the full PDF page when printed from the browser.
Open the web page and check its background in the browser before opening print preview. If you can edit the page, identify the element that carries the background color and check the page's print styles.
Enable Background Graphics in the Browser Print Settings
Use this method when the background is missing or incomplete in the PDF print preview.
In Chrome, open the browser menu and select Print. In Internet Explorer, open the Tools menu and select Print, then Print preview.
In Chrome's print dialog, expand More settings and select Background graphics. In Internet Explorer, open Page Setup from print preview and select Print Background Colors and Images.
Review the print preview and adjust Margins in Chrome or Page Setup in Internet Explorer if white space remains around the page. A background limited to a content container may still leave white areas.
In Chrome, choose Save as PDF as the destination and select Save. In Internet Explorer, choose an available PDF printer in the Print dialog and print to a file.

Check the Page's Background and Print CSS
Use this method if you can edit the web page and the background still does not cover the intended area.
View and Print Your Finished PDF with WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface. Open your finished PDF for review and printing, and move existing Office files into WPS with support for common Microsoft formats. WPS does not change how your browser renders a web page to PDF.

Frequently Asked Questions
Why does my web page background disappear in the PDF?
The browser may omit background colors and images when printing. In Chrome, open Print, expand More settings, and select Background graphics before saving the PDF.
Why are there white borders even with background graphics enabled?
Print margins or the size of the element carrying the background can leave white areas. Check Margins in print preview and review the page's container dimensions and @page CSS rules.
Where is the background printing option in Internet Explorer?
Open Print preview, choose Page Setup, and select Print Background Colors and Images. Internet Explorer is retired, so consider using a current browser if the result is inconsistent.
Can WPS Office fix the browser's background rendering?
No. Enable the background option in the browser or adjust the web page's print CSS first. You can then open the exported PDF in WPS Office to review or print it.




