html - IE8 中没有边框半径,css3PIE 不工作?

标签 html internet-explorer-8 css css3pie

我看到这个问题有很多变体,但我的尝试都没有奏效。

我想在 IE8 中获得圆 Angular ,就像在 Firefox、Chrome 中一样...这是我的 css,在下载 css3PIE 之后:

border-top-right-radius: 10px;
border-top-left-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
-webkit-border-radius: 10px; -moz-border-radius: 10px;
behavior:url(/PIE.php);
position:relative;
z-index: 0;

我用“PIE.htc”替换了“PIE.php”,但没有任何效果。我的 html 索引文件与 PIE 文件和 css 表位于同一目录中。我尝试根据我在这里看到的帖子添加 z-index 和位置规则,但也没有效果。我也简单地尝试了 PIE.htc 和 PIE.php 作为路径,但没有运气......

还有什么我可以做的,或者这里有什么问题吗? 谢谢,杰森

最佳答案

CSS3 PIE 只识别 border-radius,没有前缀。

在前缀版本后添加 border-radius: 10px

关于html - IE8 中没有边框半径,css3PIE 不工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15143413/

相关文章:

css - 无法在CSS选择器或XPath表达式中获得响应

html - 在 div 中内联显示

html - netbeans - 在 IDE 中预览 html, Split View?

html - Bootstrap list-group-items 与 list-group 容器齐平

css - IE8 中的背景图片问题

ajax - 同时触发超过 4 个异步 XmlHttpRequest 时 IE8 挂起

javascript - CSS 用省略号填充表 TD 内的空白

python - django 表单未验证

html - 在一个 div 中居中放置三个图像

javascript - IE8 是否丢失了 document.frames 集合?