Page 1 of 1

want Google Chrome only to see this css

Posted: Thu Feb 10, 2011 9:27 am
by deejay
Hi

our website looks ok in all browsers except Google Chrome, I found a fix for it but if applied it throws all the others out.

How do I make Google Chrome see a .css file just for itself. I know the code for ie but not chrome.

Thanks for any help.

Re: want Google Chrome only to see this css

Posted: Thu Feb 10, 2011 10:18 am
by John Cartwright

Re: want Google Chrome only to see this css

Posted: Fri Feb 11, 2011 3:37 am
by deejay
sweeet!

this worked for me

Code: Select all

@media screen and (-webkit-min-device-pixel-ratio:0) { 

Body {}
thanks for that

Re: want Google Chrome only to see this css

Posted: Fri Feb 11, 2011 2:21 pm
by pickle
If it looks fine in Safari but not in Chrome, my initial conclusion would be something is broken, not that Chrome needs to be handled specially.