Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 925014 - Last Review: October 27, 2007 - Revision: 1.3
You receive a security warning in Internet Explorer 7 and Internet Explorer 6 when you visit a Web page that is hosted on a secure Web site
When you use Windows Internet Explorer 7 or Internet Explorer 6 to visit a Web page that is hosted on a secure Web site (HTTPS), you unexpectedly receive the following security warning:
This page contains both secure and nonsecure items. Do you want to display the nonsecure items?
This problem occurs if the Web page script calls the
removeChild() method to delete a DIV element that references a background image.
To work around this problem, use one of the following methods.
Method 1
Use the
outerHTML property to delete the DIV element, as in the following example:
document.getElementById('myDiv').outerHTML=" "Method 2
Put the background-image into a cascading style sheets file, as in the following example:
<style type="text/css">
{ background-image: url(image.jpg); }
</style>
APPLIES TO
- Windows Internet Explorer 7
- Microsoft Internet Explorer 6.0
| kbprb kbtshoot kberrorsandwarnings kbwebbrowser KB925014 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate