Image with Alpha Transparency in IE ...

Discussing Html . Code , Software , other

Moderators: macek, egami, gesf

User avatar
WoozyDuck
New php-forum User
New php-forum User
Posts: 191
Joined: Wed May 05, 2004 10:14 am

Image with Alpha Transparency in IE ...

Postby WoozyDuck » Sat Oct 23, 2004 9:12 am

I didnt know to write this question in HTML or CSS forum ... anyway

If you know we can have a picture with alpha transparency,
we can use these kinda pictures in HTML design
they work fine in Mozilla or Netscape ,
but when its time for IE , it will show a GRAY BACKGROUND
as theirs transparency area !

Ive seen a web site using PNG images with alpha transparency
which work in IE as well !!!!!!!!!!!!!!!!!!!!
http://www.xaraya.com/

do you have any idea how can they make these kinda images ?
Ive tried a lot even using those PNG files in IE , but doesnt work!

is there any trick to get ride of GRAY BACKGROUND in IE
when we are using a transparent image ?

User avatar
swirlee
Moderator
Moderator
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back
Contact:

Postby swirlee » Sat Oct 23, 2004 9:36 am

A quick Googling would have answered your question for you, but since I've seen this problem crop up recently, I'll give you a big hint. This is possible using IE's proprietary AlphaImageLoader CSS filter. It takes a bit of CSS hackery to keep other browsers from puking on it, but here's an example of it in action. Google has some articles about it, of course.

http://www.google.com/search?q=alphaimageloader
http://www.google.com/search?q=ie+alpha+transparency

User avatar
WoozyDuck
New php-forum User
New php-forum User
Posts: 191
Joined: Wed May 05, 2004 10:14 am

Postby WoozyDuck » Sat Oct 23, 2004 9:39 am

Cheers mate :)
Ive also found a very good example written in PHP :
http://www.koivi.com/ie-png-transparency/

Cheers mate
Stupid IE !!!

hahaha
Bye


Return to “HTML Basics”

Who is online

Users browsing this forum: No registered users and 2 guests