Reputation: 168
I'm trying to display an image over top of an overlay in CSS. The image is also inside a wrapper.
The code works fine in IE 8, Firefox, and other newer browsers, and the image "shines" through successfully, however, in IE 7, the image stacks underneath the .overlay which is not how it is supposed to stack.
I have created a JSFiddle with my exact problem. The orange background is .wrapper, the image is an image tag inside of .image and .overlay is the transparent background.
The JSFiddle URL is: http://jsfiddle.net/7Lvus/
The way I'm "shining" the image through is by placing z-index:4 on .image
Anyone have any idea how I can make this work right in IE 7 (I'm testing on IE 8 compatibility mode)
Thank you
Upvotes: 1
Views: 619