{"id":2078,"date":"2012-02-06T09:42:32","date_gmt":"2012-02-06T09:42:32","guid":{"rendered":"http:\/\/www.simonbattersby.com\/blog\/?p=2078"},"modified":"2012-11-21T15:28:29","modified_gmt":"2012-11-21T15:28:29","slug":"css3pie-and-https-and-ie6","status":"publish","type":"post","link":"https:\/\/www.simonbattersby.com\/blog\/2012\/02\/css3pie-and-https-and-ie6\/","title":{"rendered":"CSS3PIE\/PIE.htc and https and IE6"},"content":{"rendered":"<p>Came across an interesting one last week using https on an Opencart installation. After implementing https I discovered that all the secure pages generated a warning in IE6: &#8220;This page contains both secure and insecure items&#8221;. I couldn&#8217;t work out why this was happening at all and ended up with a test page with virtually nothing on it still generating the error.<\/p>\r\n<p>After some more messing about it became apparent that the error was being caused by the CSS3PIE code &#8211; specifically the use of a reference to <code>url(about:blank)<\/code> in the script. There&#8217;s more info <a href=\"http:\/\/css3pie.com\/forum\/viewtopic.php?f=3&#038;t=128&#038;p=5024#p5024\">here<\/a>. The suggested solution is to replace <code>a.backgroundImage=\"url(about:blank)\"<\/code> with <code>a.backgroundImage=\"none\"<\/code> which seems to have done the trick for me. I was a little nervous about that replacement so have created a separate version of PIE.htc just for IE6, with no problems so far.<\/p>\r\n<p>Posted here in case anyone else has the issue as it took me a while to find the solution.<\/p>","protected":false},"excerpt":{"rendered":"<p>Came across an interesting one last week using https on an Opencart installation. After implementing https I discovered that all the secure pages generated a warning in IE6: &#8220;This page contains both secure and insecure items&#8221;. I couldn&#8217;t work out why this was happening at all and ended up with a test page with virtually [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[25,16],"class_list":["post-2078","post","type-post","status-publish","format-standard","hentry","category-web-design-and-build","tag-css3pie","tag-ie6"],"_links":{"self":[{"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/posts\/2078","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/comments?post=2078"}],"version-history":[{"count":2,"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/posts\/2078\/revisions"}],"predecessor-version":[{"id":2593,"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/posts\/2078\/revisions\/2593"}],"wp:attachment":[{"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/media?parent=2078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/categories?post=2078"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/tags?post=2078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}