Stickybomb Posted July 18, 2007 Share Posted July 18, 2007 Not really sure where this would fall under categories, so ill try it here ok am i all familiar with the use of conditionals to fix rendering issues with all IE browsers. I am wondering if conditionals able to determine if it is IE and differentiate between versions, or is there conditionals to test for other specific browsers. for example lately i have been having issues with safari and would like to be able to use conditionals to write specific code for only safari or firefox. Are there conditionals to test for this or another way to test for the specific browser i am trying to affect without the use of lengthy javascript or php code. if anyone knows of any methods or what not pls let me know or direct me in the right direction peace Sticky Quote Link to comment https://forums.phpfreaks.com/topic/60561-browser-specific-conditionals-assistence/ Share on other sites More sharing options...
Oldiesmann Posted July 18, 2007 Share Posted July 18, 2007 The conditionals were invented by Microsoft, and therefore will only work for Internet Explorer. You will need to check the user agent string to handle other browsers. Quote Link to comment https://forums.phpfreaks.com/topic/60561-browser-specific-conditionals-assistence/#findComment-301324 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.