Is there a way to prevent IE9 from recognizing media queries or following min-width?
I have created a responsive design for mobile devices using media queries on my website, and they function perfectly in modern browsers. However, some users still use old browsers like IE6 (which are unavoidable), so I have set a conditional style sheet specifically for IE9 with a minimum width rule to ensure that the media queries don't affect these older browsers.
body{
min-width:1000px !important;
}
Both IE8 and IE9 are adhering to the rules in the conditional stylesheet except IE9 seems to be ignoring the min-width rule for the body. This causes the layout to break when resized as the media queries take over.
Why is IE9 ignoring the min-width rule? Is there a specific conditional statement that can be used to prevent media queries from applying to IE9?