在 IE9 平台预览中使用 Microsoft 过滤器

发布于 2024-09-12 10:21:03 字数 177 浏览 2 评论 0原文

我想使用 矩阵过滤器 ,但是与 IE8 不同,它在 IE9 中根本不起作用。新版本是否已弃用过滤器想法?有什么办法让它工作吗?谢谢

I would like to use the Matrix filter, however it does not work at all in IE9, unlike in IE8. Was the filter idea deprecated with the new version? Is here any way to get it working? Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

锦欢 2024-09-19 10:21:03

您是否使用新的 -ms-filter 语法?

-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=50)";

您能提供您当前的代码吗?

Are you using the new -ms-filter syntax?

-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=50)";

And could you provide your current code?

紧拥背影 2024-09-19 10:21:03

如果我没记错的话,他们已经删除了 IE9 标准模式下的过滤器,转而采用 CSS3 样式。尝试使用以下元标记或等效的 HTTP 标头强制 IE8 模式:

<meta http-equiv="X-UA-Compatible" content="IE=8" />

If I remember correctly, they have removed filters in IE9 standard mode in favor of CSS3 styles. Try forcing IE8 mode with the following meta-tag or an equivalent HTTP header:

<meta http-equiv="X-UA-Compatible" content="IE=8" />
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文