IE7 not showing ActiveX filter opacity

I had an issue today where IE7 wasn’t applying opacity to images, even with the filter:alpha(opacity) hack (as CSS3 opacity isn’t supported).

Turns out I’d disabled something a long while ago, and after a bit of hunting I found what I needed to enable. This probably won’t affect most people as it’s enabled by default – just affecting those with a little bit of knowledge who try to be safe, but don’t really know what they’re doing :-/

Tools → Internet Options → Security → Custom Level → ActiveX Controls and Plugins: Binary and Script Behaviours. This option needs to be enabled to allow the filter:alpha(opacity=xx) hack to work.

Posted in

Gary Jones

Gary Jones is a UK-based WordPress Engineer, code consultant, and father of extremely premature twins. Driven by a passion for excellence, he creates elegant WordPress plugins and theme solutions for clients, and provides services, including code audits, for other designers and developers. Gary is a key contributor to the Genesis Framework and has contributed to all except one major branch of WordPress Core since 3.3. He has contributed to many open source projects in the community, and is a co-host on the UK Genesis podcast. A former teacher in schools and prisons, Gary's goal is to educate WordPress professionals on how they can improve their code. His motto is knowledge is power.