css - 无法在 https 模式下加载 .htc

标签 css apache html-components

我用 .htc 在 IE 上制作圆 Angular 。它仅适用于 http,但不适用于 https 模式。请帮我。谢谢 这是我的代码:

#main .sidebar .videos .grey-box {
  padding: 5px;
  margin: 5px 0;  
  border-top: 1px solid #000000;
  border-left: 1px solid #000000;
  border-right: 1px solid #6C6C6C;
  border-bottom: 1px solid #6C6C6C;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  behavior: url(../border-radius.htc);
  background-color: #BBB;
  border: 2px inset;
}

最佳答案

尝试两件事:

尝试使用 http://yourdomain.com/your-file.htc 链接到 htc 文件而不是相对路径。

也试试这个技巧: http://paulirish.com/2010/the-protocol-relative-url/

关于css - 无法在 https 模式下加载 .htc,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4282343/

相关文章:

javascript - 创建包含 3 个部分的圆,并在 HTML/css/script 中对每个部分执行操作

javascript - 如何在javascript中获取滚动条的末尾

php - 权限被拒绝 : httpd: could not open error log file/etc/httpd/logs/error_log

javascript - 将 .htc 文件的内容转换为 'regular' Javascript

javascript - 获取要上传的图像并在 div 中显示

css - Gxt 组合框选择箭头在 Firefox 和 Safari 中未正确对齐

java - 什么是 Apache 速度?

使用 POST 上传 PHP 图片

javascript - 如何使用javascript调用webservice

css - .htc 文件的优点和缺点