具有 .htc 行为文件和虚拟子域的 CSS

发布于 2024-11-01 20:25:31 字数 329 浏览 6 评论 0原文

我有兴趣使用 border-radius.htccss3pie.htc 在我的样式表中,以在旧版本的 Internet Explorer 中启用更新的 CSS3 功能。

不幸的是,MSIE 要求 .htc 行为文件必须与使用它的 HTML 页面位于同一域中。

当子域是虚拟的(在我的实例中由 WordPress MultiSite 创建)时,如何使用 .htc 文件?

I'm interested in using border-radius.htc or css3pie.htc in my stylesheet to enable newer CSS3 abilities in older versions of Internet Explorer.

Unfortunately, MSIE requires that the .htc behavior file must be in the same domain as the HTML page which uses it.

How would one go about using the .htc file when the subdomain is virtual (created by WordPress MultiSite, in my instance)?

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

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

发布评论

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

评论(1

尘世孤行 2024-11-08 20:25:31

您还可以使用 csspie.js: http://css3pie.com/documentation/pie-js/

You could also use csspie.js: http://css3pie.com/documentation/pie-js/

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