1.11M Members

how to detect IE11 in wordpress and change css with if statement?

 
0
 

I'm wondering how to detect IE11 and its version with javascript and debug my css style with jquery or by just

if(//IE11){
<style>
        #sms-cont {
        height:315px;
        }
    </style>
}

or by

if(//IE11) {
$(document).ready(function () {
        $("#sms-cont").css({
            "width": "385px",
            "height": "315px"
        });
    });
}

how to do this any idea? please help me in this , I'm stucked in very difficult situation. :(

 
0
 

Why would you need to do that?
IE11 passes the Acid3 test by 100%

 
-1
 

to debug css styes.

 
0
 

if your css works on FX, and/or Ch (or similar), no 'debug' is needed since ie11 is 100% css3 conformant

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: