Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/12.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
Css PIE.htc-背景消失,但仍不应用边界半径_Css_Internet Explorer_Rounded Corners_Css3pie - Fatal编程技术网

Css PIE.htc-背景消失,但仍不应用边界半径

Css PIE.htc-背景消失,但仍不应用边界半径,css,internet-explorer,rounded-corners,css3pie,Css,Internet Explorer,Rounded Corners,Css3pie,Border radius适用于除IE之外的所有浏览器(我用IE8测试它)。解决方案是放置行为:url(PIE.htc)编码到css类中。看起来像路径行为:url(PIE.htc)是正确的,因为: 1) PIE.htc位于根文件夹中,并且 2) 如果我使用行为:url(PIE.htc),背景就会消失 及 3) 如果我使用行为:url(/any/other/error/path/to/PIE.htc),背景会再次出现 所以,我相信行为:url(PIE.htc)使用正确。 不幸的是 .superbo

Border radius适用于除IE之外的所有浏览器(我用IE8测试它)。解决方案是放置
行为:url(PIE.htc)编码到css类中。看起来像路径
行为:url(PIE.htc)是正确的,因为:

1) PIE.htc位于根文件夹中,并且

2) 如果我使用
行为:url(PIE.htc),背景就会消失

3) 如果我使用
行为:url(/any/other/error/path/to/PIE.htc),背景会再次出现

所以,我相信
行为:url(PIE.htc)使用正确。
不幸的是

.superborder
{
border:5px solid red;
//here are a couple of strings for radius settings that are work for other browsers
behavior:url(/sdf/PIE.htc);
}
删除IE中的背景,但IE中的边框仍不圆角。 我读过PIE常见问题,玩过
position:relative;z-索引和缩放。
一起和分开。没什么帮助。有人知道为什么吗

添加: 我发现了问题,但不知道解决办法。 问题是这个css:

#page-content{
 visibility  : hidden;
}
其中,
#页面内容
包含整个页面。 它是隐藏的(如上所示),直到

因此,当页面被加载时,它将变得可见。 我之所以在加载之前将其隐藏,是因为其中一个浏览器加载了页面,但尚未加载特殊字体。这是一个很好的解决方案,因此页面在完全加载之前不会跳转。 不幸的是,现在我不得不在这两种修复方法之间做出选择。如何将它们结合起来-IE的圆角和字体跳转修复器? 非常感谢

另外,上面的字体跳转修复程序是我对

$(window).bind("load", function ()
{
    /*jumping fonts fix*/
    $('#page-content').css('visibility', 'visible');
});