How to force a HTML frame content to use specific browser version?

646 Views Asked by At

My web application was running fine till IE 10 and Firefox. I'm facing script issues while trying to use it in IE 11. My entire application comes under a frame of another HTML document whose meta header can't be changed to support specific version i.e IE 8.

<meta http-equiv="X-UA-Compatible" content="IE=8" or ("EmulateIE8")>

I would like to force my frame alone to use IE 8 version irrespective of the parent document's browser version. When i try to use this inside my frame and check the document.documentMode() in JS, i'm getting only the parent's mode and not the IE 8 which i want the frame to be.

1

There are 1 best solutions below

0
Nhu Trinh On

Internet Explorer does not like mixing browser version. It choose the highest version if possible. If your parent using IE 11, frame using ie8 then it's will be ie11

Could you try change you doctype to html5?

<!doctype html>