I am facing padding problem in IE11 and i tried to control css using IE specific statements like
<!--[if IE 11]>
<link rel="stylesheet" type="text/css" href="http:kin/frontend/enterprise/wyf-upgrade/css/styles-ie-11.css" media="all" />
<![endif]-->
but this condition not worked properly. kindly please suggest any solution to overcome this issue.
Try this it works for me
$(window).load(function() {
if(navigator.userAgent.match(/Trident.*rv:11\./)) {
$('body').addClass('ie11');
}
});
body.ie11 #some-other-div{
}
check on fiddle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With