【发布时间】:2009-10-21 12:46:09
【问题描述】:
我在我的网站上使用 YUI。当您通过 HTTP 访问时,它工作正常,没有错误。但是,当 IE 用户通过 HTTPS 访问该站点时,他们会收到可怕的 "this page contains secure and nonsecure items" 错误消息,这使得它非常接近无法使用。
我正在托管 YUI 文件,因此它们通过 HTTPS 提供服务,但在 CSS 文件中,它仍然通过 HTTP 引用图像文件,这会导致出现 IE 错误消息:
background:url(http://yui.yahooapis.com/2.7.0/build/assets/skins/sam/sprite.png)
对抑制此错误有什么建议吗? CSS 中引用了大量的 HTTP 链接。
【问题讨论】:
标签: internet-explorer ssl https yui