June 6, 2009

prevent annoying non-secure warning in ms ie

"a protocol-independent absolute path:

img src="//domain.com/img/logo.png"

.... prevents that awful "This Page Contains Both Secure and Non-Secure Items" error message in IE"

"If the browser is viewing an page in SSL through HTTPS, then it'll request that asset with the https protocol, otherwise it'll request it with HTTP."
comment by Paul Irish @ Hidden Features of HTML - Stack Overflow
Blogged with the Flock Browser

No comments: