What exactly are the rules for avoiding the “mixed content” warning in IE due to background images?

后端 未结 3 2209
有刺的猬
有刺的猬 2021-02-19 09:22

This is related to SSL and mixed content due to CSS background images but that question had no accepted answer and the one I\'m asking is a little more specific.

Under s

3条回答
  •  遥遥无期
    2021-02-19 09:59

    After countless hours of the same problem, I couldn't figure out the problem. I then began picking through my source code and I found it. I'm using HTML5, and I'm using a shiv inside of a conditional comment to make HTML5 elements work in IE8 and down.

    
    

    My issue was that IE8 and down was throwing an error. That issue was solved by changing the above into a https, with the following:

    
    

    I haven't tested it, but I imagine the following might work too.

    
    

    It might save somebody down the road. If not, then good luck!

提交回复
热议问题