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. :(

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

to debug css styes.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.