У меня есть следующие медиа-запросы в моем CSS:
@media screen and (min-width: 0px) and (max-width: 319px) {
body {background-color:red;}
}
@media screen and (min-width: 320px) and (max-width: 480px) {
body {background-color:orange;}
}
@media screen and (min-width: 481px) and (max-width: 980px) {
body {background-color:yellow;}
}
@media screen and (min-width: 981px) and (max-width: 1200px) {
body {background-color:green;}
}
@media screen and (min-width: 1201px) {
body {background-color:blue;}
}
и пять фреймов с соответствующими размерами:
<iframe frameBorder="0" src="index.html" height="320" width="255" ></iframe>
Выполнение запросов отлично в автономном html файле, но при просмотре в контексте iframe они не работают в IE9. Все остальные браузеры отображаются ОК.
Кто-нибудь знает почему? спасибо
[edit] Для записи родительский и дочерний html имеют одинаковый тип docType, а CSS - как text/css.