I want to use PNG images in my website, but only IE7 works with the transparency. Is there any way to get it to work with later vesions if IE?
I want to use PNG images in my website, but only IE7 works with the transparency. Is there any way to get it to work with later vesions if IE?
Surely you mean earlier than ie7? try this
http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html
PNG files don't work very well in previous browsers but we have all the latest browser now like IE7, Firefox 2, etc...
yeah, but almost all people now days have FF2 or IE7. If they don't you can pretty much ignore them (at least I mostly do).
If you are in a situation where that's not an option, you can do some poor transparencies with GIFs. They only have on/off transparency, so it's not the best solution. but it works.
But IE6 is on the way out. It may not be sensible to ignore it yet, but the day is fast approaching. There are some large sites which don't work well on IE6 already.
I write about blogging and WordPress and living and working in China.
I also write WordPress plugins.
A lot of sites like AOL and Yahoo ask people to upgrade as well to a better browser, like my site tells people to use Firefox for the best viewing. As for the PNG, make the image border or background the same as the background that is on the page.
My signature likes cookies! Do you? :D
I'm not saying it's not on its way out - it seems to be losing around 1% of its browser share a month, on average. I'm just pointing out the fault behind assuming that almost everyone today uses something else. At the current rate of migration, it will still be a year before we can stop at least giving a slight thought toward IE6 during the design process.
You could still always revert back to transparent gifs.
Those work with IE6 last time I checked.
kkenny - retired.
-Became a Moderator/Staff Member on 4/23/08
-Became Senior Mod on 8/28/08
-Became Account Manager on 10/18/08
-Left Staff and X10 in 2009.
In many cases, transparent GIFs actually work. Alpha transparency (semi transparency) is rarely necessary in the vast majority of website designs, although it should of course be supported in all browsers![]()
----------
If you found my post helpful in some way, I'd really appreciate a few credits as I'm saving up for a domain.
You can click the blue check mark in the upper right corner of this post to increase my reputation.