Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Internet explorer 8 Internet explorer 8中图像的边框半径_Internet Explorer 8_Css_Css3pie - Fatal编程技术网

Internet explorer 8 Internet explorer 8中图像的边框半径

Internet explorer 8 Internet explorer 8中图像的边框半径,internet-explorer-8,css,css3pie,Internet Explorer 8,Css,Css3pie,我有一个图像,我想用这样的边界半径来显示它。 CSS: 该代码在IE8中失败,导致出现方形图像(没有圆形边框)。我在报纸上看到CSSPie有一个已知的bug。由于这个问题有点老(2012年11月),我想知道是否有人在这段时间内找到了解决方案。谢谢。为什么不遵循CSS3文件中给出的解决方法?将position:relative添加到您的图像中。这很有效,谢谢@Spudley! .rounded { width:100px; height:100px; display:inl

我有一个图像,我想用这样的边界半径来显示它。 CSS:


该代码在IE8中失败,导致出现方形图像(没有圆形边框)。我在报纸上看到CSSPie有一个已知的bug。由于这个问题有点老(2012年11月),我想知道是否有人在这段时间内找到了解决方案。谢谢。

为什么不遵循CSS3文件中给出的解决方法?将
position:relative
添加到您的图像中。这很有效,谢谢@Spudley!
.rounded {
    width:100px;
    height:100px;
    display:inline-block;
    border-radius:50px;
}