开发者

doctype declaration is causing internet explorer to throw a SSL warning

IE is throwing an error "do you want to view only the webpage content that was delivered securrely." On investigation, removing the doctype removes the error. There are no other calls to http content in the page.

How can I declare the doctype with a https connection or in some other way get around IE's problem? This is my doctype statement:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML开发者_如何学JAVA 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

I don't get any warnings in any other browsers, just IE.


  1. Make sure that no external .js file is called using http://

  2. You can use "//" instead of "https://" when referencing resources


The actual cause of this was the http:// codebase calls in the js calls to flash. i changed these to https and the warnings went away.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜