ie8-compatibility-mode

Force IE9 to emulate IE8. Possible?

对着背影说爱祢 提交于 2019-11-26 15:19:33
问题 Is this possible at all? I tried adding this to the page but it didn't change a thing. <meta http-equiv="X-UA-Compatible" content="IE=8"> UPDATE- I'm trying to do this because our site has some IE9 specific CSS issues, which wouldn't appear in IE8. Thanks 回答1: You can use the document compatibility mode to do this, which is what you were trying.. However, thing to note is: It must appear in the Web page's header (the HEAD section) before all other elements, except for the title element and

Detect IE8 Compatibility Mode [duplicate]

左心房为你撑大大i 提交于 2019-11-26 09:41:28
问题 Possible Duplicate: Differentiate IE7 browser and browser in IE7 compatibility mode We have not had time to fully test IE8 with our fairly extensive system. We are also reaching the point at which we can\'t prohibit the use of IE8. Our users are stubborn and not terribly sophisticated, so we don\'t feel that we can tell them to use the \"Compatibility Mode\" button. Instead, we will add the \"IE=EmulateIE7\" meta tag as a temporary fix. The problem is that when this tag is used, the browser

How to make Internet Explorer 8 to support nth child() CSS element?

走远了吗. 提交于 2019-11-26 03:10:55
问题 I want to give a zebra stripe effect to my table rows. In all other browsers it can be done using CSS nth child element. But i want to do it IE 8 also. SO how can i do it? 回答1: You can use http://selectivizr.com/ JS which support css3 selector for IE. 回答2: With polyfill : Selectivizr is good enough. Without polyfill: As IE8 supports first-child you can trick this to support nth-child in iE8 i.e /*li:nth-child(2)*/ li:first-child + li {}/*Works for IE8*/ Although we cannot emulate complex

X-UA-Compatible is set to IE=edge, but it still doesn&#39;t stop Compatibility Mode

允我心安 提交于 2019-11-26 00:30:01
问题 I am quite confused. I should be able to set <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" /> and IE8 and IE9 should render the page using the latest rendering engine. However, I just tested it, and if Compatibility Mode is turned on elsewhere on our site, it will stay on for our page, even though we should be forcing it not to. How are you supposed to make sure IE does not use Compatibility Mode (even in an intranet)? FWIW, I am using the HTML5 DocType declaration ( <!doctype html