want Google Chrome only to see this css

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
User avatar
deejay
Forum Contributor
Posts: 201
Joined: Wed Jan 22, 2003 3:33 am
Location: Cornwall

want Google Chrome only to see this css

Post 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.
User avatar
deejay
Forum Contributor
Posts: 201
Joined: Wed Jan 22, 2003 3:33 am
Location: Cornwall

Re: want Google Chrome only to see this css

Post by deejay »

sweeet!

this worked for me

Code: Select all

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

Body {}
thanks for that
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: want Google Chrome only to see this css

Post 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.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply