Jump to content

Google Chrome tag


kendalwood

Recommended Posts

I do browser sniffing very often when I want a site to look identical in Chrome (which is same as Safari/WebKit), IE and Firefox, especially with CSS:

 

... style="width: 190px; margin-top: 12px; <?=((strpos($_SERVER['HTTP_USER_AGENT'], 'Safari') !== false) ? 'font-family: "Tahoma"; font-size: 17px; height: 16px;' : 'font-size: 13px')?>">

Link to comment
https://forums.phpfreaks.com/topic/230225-google-chrome-tag/#findComment-1186057
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.