"a protocol-independent absolute path:comment by Paul Irish @ Hidden Features of HTML - Stack Overflow
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."
Blogged with the Flock Browser
No comments:
Post a Comment