[dev] Re: [cvs] commit: horde/graphics search.png

Chuck Hagenbuch chuck at horde.org
Wed Sep 22 08:41:54 PDT 2004


Quoting Jan Schneider <jan at horde.org>:

> Because it adds bulk for all browsers. But I found a nice solution without
> javascript while browsing all those png-alpha-transparency-on-ie-suck
> websites.
>
> We generate all image tags with Horde::img() anyway, so we should check
> there if the browser is IE on windows (Mac version support alpha
> transparency) and the image is a PNG. Only in this case we use the filter
> workaround. How does that sound?

Yeah, I figured we'd do something like that in any case - definitely wasn't
going to send it to non-IE browsers, and only doing it for PNGs is a nice
touch.

-chuck

--
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list