13 November 2011

Print CSS backgrounds in Google Chrome & Safari webkit

Up until now it's been impossible, but a new fix published this week by the chrome team makes it simple for a site developer to trigger background printing using CSS...

Just add the following CSS rule to any element you want to print as it looks on screen (you need chrome 17 or higher for this to work):

If I helped you out, please see my note  :)    >>
-webkit-print-color-adjust:exact;

18 comments:

Anonymous said...

Are you serious that all web developers in the world have to apply this to their sites to get it printed in arrogant Chrome?

Anonymous said...

Thanks a lot. It works perfectly! I wish it was easier to do this, though.

Anonymous said...

WTH, after weeks of searching for a solution i have found this.


Thanks a lot!

Anonymous said...

Work for me on chrome but not on Safari
Safari version is 5.1.7

Andres Hernandez said...

finally!! why isnt this in google groups?

Unknown said...

Nope. This doesn't appear to work any more, at least as of Chrome 22.0.1229.79

Anonymous said...

It works for me in Chrome 22. Test print preview of:

http://jsfiddle.net/zDE9s/

Ahmad Amro said...

Thanks man i really looked around a lot tell now

Thaaaaaaaaaaaanks

Valdeir said...

wowwwwwwwwwwww, thanks.

Arnaldo said...

Thanks a lot. It works perfectly!

Anonymous said...

"Are you serious that all web developers in the world have to apply this to their sites to get it printed in arrogant Chrome?"

You obviously have no idea what is even going on here.

Meiqing Xu said...

ralph lauren outlet
true religion outlet
jordan shoes
coach outlet
ugg outlet
nike air force 1
canada goose sale
gucci handbags
nike shoes
kevin durant shoes
20161228caiyan

林平平 said...

nike outlet store
mulberry outlet
ugg boots
north face jackets
nmd adidas
adidas nmd
ralph lauren uk
coach factory outlet
uggs clearance
louis vuitton outlet store

sendul said...

By reading this article I get a lot of lessons and this is very useful . cara menggugurkan kandungan

Gembiraria said...

nice post and very interesting
BwinQQ.casino agen dominoqq terpercaya

BwinQQ.casino situs dominoqq terpercaya

BwinQQ.casino situs poker online terpercaya

BwinQQ.casino agen poker terpercaya

bandarqiu99.info situs domino99 terpercaya

Mrjudibola.com agen bola terpercaya

Mrjudibola.com Bandar bola terpercaya

Daftar Poker Online

Poker Online Indonesia

Gembiraria said...

absen omz Situs Berita terkini

Detik Siang

AGUNGQQ Agen DominoQQ, BandarQ, Capsa Susun, QQ Online Terpercaya di Indonesia

Agen Bandar66 Online Judi Sakong Capsa BandarQ Domino99 Keris99

ituCasino Agen Bola Sbobet Piala Dunia 2018 Live Casino Online

Judi Sbobet LiveCasino 338a Agen Bola Piala Dunia Online KiosCasino

ituCasino Agen Bola Sbobet Piala Dunia 2018 Live Casino Online said...

cara menggugurkan kandungan

cara ampuh menggugurkan kandungan

obat aborsi

obat aborsi ampuh

obat aborsi terpercaya

obat aborsi

cara menggugurkan kandungan

cara ampuh menggugurkan kandungan

obat aborsi

ituCasino Agen Bola Sbobet Piala Dunia 2018 Live Casino Online said...

Asia Furniture

Distributor Furniture jepara

Distributor Furniture Rotan

Post a Comment

Cron Design Studio: Dublin based web design & software development