开发者

can't load .htc in mode https

开发者 https://www.devze.com 2023-01-27 13:42 出处:网络
I used .htc to make rounded corner on IE. it only working with http but it not working in mode https. please 开发者_JAVA百科help me. Thanks

I used .htc to make rounded corner on IE. it only working with http but it not working in mode https. please 开发者_JAVA百科help me. Thanks Here is my code:

#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;
}


two things to try:

try linking to the htc file using http://yourdomain.com/your-file.htc instead of the relative path.

also try this trick: http://paulirish.com/2010/the-protocol-relative-url/

0

精彩评论

暂无评论...
验证码 换一张
取 消