How to print background images in Chrome

I have been fighting with this one for a while. It turns out Google Chrome doesn’t have an option to allow users to select whether they want to print background images (and colors). It just won’t print them (Firefox and IE do have the option). The idea behind it is that you usually just want to print the text in a webpage. Yet there are some cases where you do want to print the background images.

The solution is simple, just add the code below to your CSS (you need to add it to the section of the page where the background image is, if you have a “body” section, there’s where you want it):

-webkit-print-color-adjust:exact;
Posted in Web. Bookmark the permalink. RSS feed for this post. Leave a trackback.

Swedish Greys - a WordPress theme from Nordic Themepark.