gpt4 book ai didi

css - pieCSS3 : Not rounding in local

转载 作者:行者123 更新时间:2023-11-28 09:52:28 25 4
gpt4 key购买 nike

我正在尝试使用饼图获得圆 Angular :

ul li{
-webkit-border-radius: 8px 8px 0 0;
-moz-border-radius: 8px 8px 0 0;
border-radius: 8px 8px 0 0;
color: #FFFFFF !important;
float: left;
font-size: 16px;
font-weight: bold;
height: 24px;
margin-top: 14px;
padding: 15px 15px 5px;
text-align: center;
text-decoration: none;
background: url("../nImg/comunHomeSprite.png") no-repeat scroll -5px -4172px transparent;
behavior: url(../nJs/pie/PIE.htc);
}

CSS 文件位于:/nCss/mycss.css

Html 文件位于:/home/html/index.html

Pie .htc+.js 在:/nJs/pie/PIE.htc(和 PIE.js,但我不确定 .js 的用途)

路径应该相对于 .css 文件还是相对于 .html 文件?

问题是我没有看到这个 Angular 是圆的:(

-编辑-

甚至试图在 http://toniweb.us/recursos/PIE.htc 中托管 .htc 文件仍然不工作

我做错了什么?

-编辑-

尝试过:

{
position:relative;
zoom:1;
behavior: url(http://toniweb.us/recursos/PIE.htc);
}

不工作

{
position:relative;
zoom:1;
behavior: url(/nJs/pie/PIE.htc);
}

{
position:relative;
zoom:1;
behavior: url(../../nJs/pie/PIE.htc);
}

也不行:S

注意:我还下载了这个例子:http://css3pie.com/demos/tabs/

并更新了 PIE.htc 文件/PIE.htc @/pie/PIE.htc 的路径(并移动了 .js 和 .htc 文件)并且不再工作了。就像只有在同一路径中时才会唤醒作为 .html,不幸的是,它不适合我..

最佳答案

直接来自 CSS3PIE 页面:

Note: this path is relative to the HTML file being viewed, not the CSS file it is called from.

这是入门的第 4 步。 http://css3pie.com/documentation/getting-started/

关于css - pieCSS3 : Not rounding in local,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7877917/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com