PDA

View Full Version : Grid in iframe in IE 9



LuckyBlade
12 Jul 2012, 9:31 PM
First content string of grid doesn't render correctly in IE 9 in iframe. At localhost without iframe the same problem.

37126

Who knows, how fix it?

tvanzoelen
12 Jul 2012, 11:09 PM
I do not know what the iframe exactly does. But I have read that the iFrame embedded in IE9 uses the same DocType as the parent. If that parent DocType sets your browser into Quirks mode, it can look troubled.

You can check that by pressing F12. And test by setting

<meta http-equiv="X-UA-Compatible" content="IE=9" />

in the html header

LuckyBlade
26 Jul 2012, 11:26 PM
"Browser mode = IE9, Document mode = IE9" - that what I see in Developer tools(F12) when I open a page in the first time. If I change document mode to any others and after that again change Document mode to Document mode = IE9 everything is working fine. I've made mistake - at locallhost the same problem as in iframe. Setting <meta http-equiv="X-UA-Compatible" content="IE=9" /> didn't bring results.