gpt4 book ai didi

html - 如何在IE中使用border-radius.htc制作圆 Angular

转载 作者:技术小花猫 更新时间:2023-10-29 12:12:11 25 4
gpt4 key购买 nike

如何在IE中使用border-radius.htc制作圆 Angular

我正在使用 border-radius.htc在 IE 中修复 border-radius

在这里效果很好 http://www.faressoft.org/eshterakat/border-radius/border-radius.html

但它在我的 html 页面中不起作用!我不知道为什么! http://www.faressoft.org/eshterakat/

-moz-border-radius:5px;
-khtml-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
behavior:url('Js/border-radius.htc');

-

/* I tried '../Js/border-radius.htc' it didn't work too */
/* I tried '/Js/border-radius.htc' it didn't work too */
/* I tried 'Js/border-radius.htc' it didn't work too */

最佳答案

HTC 有 2 个问题;

  • 如果您在 Apache 上将此添加到您的配置或 .htaccess 中,则服务器必须使用正确的 MIME 类型(文本/x-组件)为 HTC 提供服务:AddType text/x-component .htc

  • 在 CSS 中,URL 与 CSS 文件相关...HTC 引用与调用 HTML 页面相关 - 请注意。

关于html - 如何在IE中使用border-radius.htc制作圆 Angular ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4074950/

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