I have the following media queries that are specific for all IE's. When I go to IE11 or older, the browser does not that detect my media queries.
<!--[if IE]>
<style>
@media screen (min-width:1281px){
.topleft {
position: absolute;
top: 0%;
left: -16% !important;
}
.bgimg {
width: 69%;
left: 15%;
}
}
@media screen (max-width: 1280px){
.middle1 {
position: absolute;
top: 44% !important;
left: 33% !important;
width: 38% !important;
-ms-transform: translate(-50%, -50%);
text-align: center;
}
}
</style><![endif]-->
My second question I have is I am unable to do a linear-gradient correctly in IE.
I was able to find reference on here on how to accomplish it. However, when I do -ms-linear-gradient(...)
, it does create the gradient but it covers the background image that I have. How can I achieve it without the background image being blacked out?
background-image: url('http://oc2-reatest/OCUpgrade52/images/Stethoscope_ver2.jpg');/*, -ms-linear-gradient(top, #f0f0f0 0%, #f0f0f0 10%);
/*filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#f0f0f0', endColorstr='#f0f0f0');/*For IE7-8-9*/ */