I want to detect Internet Explorer version and change some css with if statement to debuging. and How to detect it in by using wordpress?
and how to code if(//IE version whatever){ //to code here}
any idea?
I want to detect Internet Explorer version and change some css with if statement to debuging. and How to detect it in by using wordpress?
and how to code if(//IE version whatever){ //to code here}
any idea?
I don't think you need to detect IE browser via wordpress, instead you can make use of conditional comments
in your script. Which get executed only in IE. Using this you can have a separate CSS for IE browsers.
An example,
<!--[if IE 8]>
<p>Welcome to Internet Explorer 8.</p>
<![endif]-->