I’ve added a gradient along with a background image to an element in IE 7 & 8, however the filter property seems to be changing the opacity of the background image so it’s not as bright as it should be (instead of being a 1.0 opacity it’s more like 0.4).
Does anyone know how to fix this?
I’ve created a JSFIDDLE so you can try it out. (only works in IE 7-8)
The problem is: IE puts the filter over the background-image, so it actually is not gaining the opacity, but overlaid with gradient.
So, the only solution to this is to add an extra block with image so it would be over the block with gradient, like this: http://jsfiddle.net/9UEGu/2/
If you don’t want an extra
divin your markup and not against expressions, you can do something like this: http://jsfiddle.net/9UEGu/3/