I have a header that has an image in the background and it is not showing up in IE9. It works fine in Chrome, Firefox, and Safari. The logo file that is opened in the header displays fine.
HTML:
<div class="myheader">
<img src="img/logo.png"><h5 class="your-on">You are on: Login Page</h5>
</div>
CSS:
.myheader {
height: 90px;
/* background-color: #3D8F43; */
padding: 5px;
position: relative;
border-radius: 10px;
-moz-border-radius:10px;
background-image: url("../img/header-bg.jpg");
}
Also, I am simply opening these files locally with whatever browser I want to open it with. It is a demo that I need to email different people and have them open it and view the HTML files so I need it to work locally.
I have already enabled mix content on the settings in IE but it didn't work.
Update - Should have included this first. When I first open the page IE states that it has restricted the webpage from running scripts or ActiveX controls. I allow it to do this and refresh the page but with the same result, no image.