SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
Thread: allowing transparent PNGs in IE?
-
Nov 20, 2007, 05:34 #1
- Join Date
- Nov 2007
- Posts
- 139
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
allowing transparent PNGs in IE?
Hi there,
I have some transparent PNG backgrounds in my page, but the problem is IE doesn't allow the transparency. I was wondering if there is a way I can allow transparency?
Many thanks!
-
Nov 20, 2007, 07:02 #2
- Join Date
- Sep 2004
- Location
- 1337
- Posts
- 43
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
use gifs, IE doesn't support PNG transparency
-
Nov 20, 2007, 07:04 #3
- Join Date
- Mar 2007
- Posts
- 286
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
There are some work arounds available but I would follow the previous advice as they rely on javascript. If you are really interested a search on these forums should find one.
http://www.glasys.co.uk
Noli Illegitimi Carborundum
-
Nov 20, 2007, 07:07 #4
- Join Date
- Aug 2007
- Location
- Brighton, UK
- Posts
- 2,006
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If you really need to use PNG's then look here for the workkaround::
http://geoland.org/2007/03/transpare...ut-javascript/★ James Padolsey
–––––––––––––––––––––––––––––––––––––––
Awesome JavaScript Zoomer (demo here)
'Ajaxy' - Ajax integration solution (demo here)
-
Nov 20, 2007, 09:40 #5
- Join Date
- Nov 2007
- Posts
- 139
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks.. I used Jimmy's idea
The trouble I had with a GIF was the edges were not clean like a JPG or PNG.. I really needed to have transparency and clean edges.
Thanks again.
-
Nov 20, 2007, 10:27 #6
- Join Date
- Jun 2004
- Location
- Copenhagen, Denmark
- Posts
- 6,157
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
IE7 supports alpha channels in PNG, so depending on your audience, you might be able to ignore IE6's quirks all together. In my experience, the filter-hacks are flaky and slows the browser down considerably - or crashes it even. If you absolutely need IE6 support, you would probably be better off using images without transparency and just render them specifically to the background colour.
Bookmarks