PDA

View Full Version : Combing EmulateIE7 with Conditional Comment



Martins
Feb 3rd, 2010, 06:26 PM
Should it be possible to use the IE7 Emulation meta tag inside a conditional comment so that it is only applied to a specific version of IE ? This doesnít appear to work.


<!--[if IE 8]><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /><![endif]-->

Say, you have a compatibility issue in IE8, thatís resolved in IE9?

harrierdh
Feb 3rd, 2010, 06:49 PM
I don't know if that works or not. It is possible in Javascript though.

See here.

http://msdn.microsoft.com/en-us/library/cc817574.aspx