How to enforce iframe in compatibility mode in IE 11

1.2k views Asked by At

I have setup IE11 browser in compatibility mode through code. It's working fine but when a page has iframe the content inside the iframe coming in standard mode only. Is there any way to enforce iframe also in compatibility mode when main page is opening on the same?

1

There are 1 answers

3
norcal johnny On BEST ANSWER

Try adding this as the first line in the meta head section..

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

or

<meta http-equiv="X-UA-Compatibility" content="IE=5" />;