Toni Michel Caubet
Toni Michel Caubet

Reputation: 20173

alpha opacity and behavior: url(iepngfix.htc); not working in IE6

.idioma_es #logosFooter, .idioma_es #logosFooter li a {
    background: url(../nImg/microsites/logos/logos_footer.png) no-repeat scroll left top transparent;
    behavior: url(../../nJs/iepngfix.htc);

}

Result in Firefox: result in firefox

Result in Internet Explorer 6 (Based on IE Tester for Windows): result in Ie

the path of the .htc file is correct !

Any idea what i'm missing?

Upvotes: 1

Views: 1664

Answers (3)

Frank Bough
Frank Bough

Reputation: 21

IE6 does not support the alpha channel for background images apart from in specific circumstances. There is no general fix, as there is for foreground images.

Look here: http://24ways.org/2007/supersleight-transparent-png-in-ie6

Check the first bit of text under 'The pitfalls' heading

Upvotes: 2

thirtydot
thirtydot

Reputation: 228222

Don't test this with IETester. It's not completely reliable.

You should use a virtual machine, but you can quickly test a page with http://ipinfo.info/netrenderer/.


After Googling a little, I might have been a little unfair to IETester (though I still don't trust it).

http://www.my-debugbar.com/wiki/IETester/HomePage

Known problems and limitations :

  • CSS Filters are not working correctly in user mode : A solution is to launch IETester as admin user and CSS Filters will work.

Upvotes: 3

Pavel Lauko
Pavel Lauko

Reputation: 66

You can try PIE - http://css3pie.com, that is working in IE6 too.

Upvotes: 3

Related Questions