diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)

Mar272009

Tips to make your site compatible with Google Chrome

If your site doesn’t look quite right in Google Chrome but works fine in Safari, here are some tips to get your site up with chrome:

  • it’s possible your site may just not recognize Chrome’s user-agent string. Commonly, sites use JavaScript to ‘sniff’ the navigator.userAgent property for “Chrome” or “Safari”, but you should use proper object detection if possible.
  • Google Chrome doesn’t support ActiveX plug-ins, but does support NPAPI plug-ins. This means you can show plug-in content like Flash and Java in Google Chrome the same way you do with Firefox and Safari.
  • If text looks a bit off, make sure you provide the proper content type and character encoding information in the <head> section.
  • Don’t put block elements inside inline elements.
Share This Story, Choose Your Platform!

Get Latest News

Subscribe to Digital News Hub

Get our daily newsletter about the latest news in the industry.
First Name
Last Name
Email address
Secure and Spam free...