【发布时间】:2013-02-16 17:50:13
【问题描述】:
我正在使用以下代码作为边框半径:
.box {
width:250px;
height:250px;
background:#ce0000;
border-top-left-radius: 15px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
border-top-right-radius: 15px;
behavior:url(images/PIE.htc);
}
它在 IE 9 中运行良好。但它在 IE 8 中不起作用。我做错了什么?
【问题讨论】:
-
边框半径在ie8及更少版本的ie中不支持
-
@sasi 检查 CSS3Pie 并查看。 pie 就是这么做的,它把这个特性添加到 IE 中。
-
我觉得
images/PIE.htc无法访问。能把你的文件夹结构和文件结构放进去吗? -
有时位置相对在 IE8 中会有所帮助,请尝试一下(这看起来很愚蠢,但过去对我有用——原因我不知道)
-
文件夹和文件结构正确@praveen Kumar
标签: css internet-explorer internet-explorer-8 css3pie