I try to render a html page as IE8 , but I am using IE11.
I try it like this:
[code]
var html = document.getElementsByTagName("html")[0];
if (isIE){
html.className = html.className || "";
if (docModeIE == 5) html.className += " ie5";
if (docModeIE == 6) html.className += " ie6";
if (docModeIE == 7) html.className += " ie7";
if (docModeIE == 8) html.className += " ie8";
};
[/code]
and then for the HTML page:
[html]
ok
Clear
this check box for some free advice.
this check box for a message from our sponsors.
[/html]
but that doesnt work.
Thank you
albert albertPosted Apr 3, 2014, 4:56 AM
I triied that. But it doesnt work.
Niels
Abhay ShankerPosted Apr 3, 2014, 4:43 AM