I am having an issue when I print my page in Chrome 26 where tables appear with grey background colour.
When I view the page in chrome with simulated CSS media print it looks fine
When printing in Safari everything works fine. Anyone knows how to fix this issue?
As of Chrome 48+, you can access the print preview via the following steps: Open dev tools – Ctrl/Cmd + Shift + I or right click on the page and choose 'Inspect'. Hit Esc to open the additional drawer.
Here is the solution: Add this to your print css
* {transition: none !important}
See: https://nicolasbouliane.com/blog/print-preview-significantly-different-inspector-chrome
You can try -webkit-print-color-adjust:exact;
, which overrides the setting where Chrome removes background colors. This could fix your problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With