开发者

can't load .htc in mode https

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜