Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/40.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 圆角_Internet Explorer_Css_Rounded Corners - Fatal编程技术网

Internet explorer 圆角

Internet explorer 圆角,internet-explorer,css,rounded-corners,Internet Explorer,Css,Rounded Corners,我知道网络上有一百万个圆角线程,我已经做了研究并尝试了PIE.htc方法,但没有成功。根据BrowserLab的说法,出于某种原因,它甚至在IE9中都不起作用 有IE9的人能帮我确认一下吗?我在mac电脑上 下面是我用来制作圆角的CSS代码 -webkit-border-top-right-radius: 120px; -webkit-border-bottom-left-radius: 120px; -webkit-border-radius: 0px 120px 0px 120px; -mo

我知道网络上有一百万个圆角线程,我已经做了研究并尝试了PIE.htc方法,但没有成功。根据BrowserLab的说法,出于某种原因,它甚至在IE9中都不起作用

有IE9的人能帮我确认一下吗?我在mac电脑上

下面是我用来制作圆角的CSS代码

-webkit-border-top-right-radius: 120px;
-webkit-border-bottom-left-radius: 120px;
-webkit-border-radius: 0px 120px 0px 120px;
-moz-border-radius-topright: 120px;
-moz-border-radius-bottomleft: 120px;
-moz-border-radius: 0px 120px 0px 120px;
border-top-right-radius: 120px;
border-bottom-left-radius: 120px;
border-radius: 0px 120px 0px 120px;

-webkit-box-shadow: #666 0px 0px 10px;
-moz-box-shadow: #666 0px 0px 10px;
box-shadow: #666 0px 0px 10px;
behavior: url(clients/PIE.htc);
谢谢,, Art

行为中的URL应与服务器根相对

将其更改为:

behavior: url(clients/PIE.htc);

ie8上的任何内容都没有ie9

我在ie8上使用这个:

-webkit-border-radius: 200px;
-moz-border-radius: 200px;
border-radius: 200px;
behavior: url(PIE.htc);
margin:25px;
z-index: inherit;
zoom: 1; /* For IE6 */

用这个,它起作用了

<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<style>
border-top-right-radius: 7px;
border-top-left-radius: 7px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
</style>

我已将我的行为更改为clients/PIE.htc,但根据BrowserLab的说法,没有运气。这是因为我试图使某些角弯曲吗?IE9本机支持边界半径,因此即使没有PIE,它也应该工作。还有,为什么同时定义了“长手”和“速记”属性?我知道IE9应该支持“边界半径”,但它不适合我:/所以我也尝试使用PIE,看看是否可以解决这个问题。但这仍然没有实现。我再次用速记和速记来尝试更多的解决方案。