gpt4 book ai didi

internet-explorer-8 - CSS3 PIE 在 IE8 中无法正常工作

转载 作者:行者123 更新时间:2023-11-28 10:19:36 25 4
gpt4 key购买 nike

我正在使用 CSS3 PIE 在 IE 中呈现 border-image 和 border-width。在 IE9 中一切正常,但在 IE8 中不正常。

奇怪的是,在 IE8 中,border-image/width 适用于一个 DIV(页面右上角的邮件列表),但不适用于其他(主要内容和侧边栏,没有 border-image 或 background-图片正在显示)。

你可以在 this page 上看到我的意思.

我正在使用的 CSS 示例(在本例中为内容 DIV)如下所示:

div#content .padder {
border-width:7px;
-moz-border-image:url('/wp-content/themes/bp-soteria/images/background_content.png') 7 repeat;
-webkit-border-image:url('/wp-content/themes/bp-soteria/images/background_content.png') 7 repeat;
border-image:url('/wp-content/themes/bp-soteria/images/background_content.png') 7 repeat;
-o-border-image:url('/wp-content/themes/bp-soteria/images/background_content.png') 7 repeat;
background-image:url('/wp-content/themes/bp-soteria/images/background-main.png');
background-repeat: repeat;
background-clip: padding-box;
behavior: url(/pie/PIE.htc);
}

PIE.htc 的路径是正确的。任何人都可以提出这里的问题吗?

最佳答案

PIE 规范说:

make the target element position:relative, or
make the ancestor element position:relative and give it a z-index.

Known Issues

关于internet-explorer-8 - CSS3 PIE 在 IE8 中无法正常工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12571853/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com