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

Abhay ShankerRank #375 · 6.7K reputationPosted Apr 3, 2014, 12:43 AM EDT
albert albertRank #2,683 · 519 reputationPosted Apr 3, 2014, 12:56 AM EDT
I triied that. But it doesnt work.
Niels