Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

[SOLVED] targeting Chrome

05-03-2012, 07:38 AM
# 1 (permalink)
3dspace
Hello,
I know that *_hconditions.php allows one to target MSIE. But what about Chrome? How can you target Chrome?
thanks

Are you sure your are posting in product assigned forum?: Yes

What is your CMS version?: Joomla 2.5

MySQL Version: 5.x

PHP version: 5.x

Link to installation: http://localhost/mysite

Have you edited any files? If yes tell us which ones.: No
05-03-2012, 07:47 AM
# 2 (permalink)
arefund
Hello 3dspace.

You can target the chrome by adding this code:

<?php if (preg_match("/chrome/",$who)) { ?>
<style type= text/css">
YOURDECLARATION
</style>
<?php } ?>
Kindness costs the least, but is worth the most!
05-03-2012, 01:20 PM
# 3 (permalink)
3dspace
Thank you, sir. Works just fine.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

Members Login

Username
Password