Might anyone know why DD_belatedPNG works wonders for my transparent pngs in IE6 and IE7, but not in IE8?

Thanks.

有帮助吗?

解决方案

You can also use the content attribute to specify multiple document compatibility modes. To specify multiple document modes, set the content attribute to identify the modes you want to use. Use a comma to separate each mode.

If a particular version of Internet Explorer supports more than one requested compatibility mode, it will use the highest available mode listed in the content attribute. You can use this fact to exclude specific compatibility modes, although this is not recommended. For example, the following header excludes IE7 mode.

<meta http-equiv="X-UA-Compatible" content="IE=9; IE=7;" >

This should force IE8 to run like IE7 and IE9 to stay as IE9

Source: http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx

其他提示

According to this blog, you have to use a X-UA-Compatible meta tag for it to "work".

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top