•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Web Developers' Lounge section within the Web Development category of DaniWeb, a massive community of 391,662 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,850 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Web Developers' Lounge advertiser:
Views: 465 | Replies: 2
![]() |
•
•
Join Date: Jul 2005
Posts: 55
Reputation:
Rep Power: 4
Solved Threads: 0
When looking at my site through IE, my uploaded transparent PNGs always appear with a crappy background. Supposedly, from searching the web, this defect is in IE alone.
Yet, some sites have images with transparent backgrounds in IE, such as Mozilla.
How do they do this? Thank you.
Yet, some sites have images with transparent backgrounds in IE, such as Mozilla.
How do they do this? Thank you.
Last edited by shmay : Apr 10th, 2008 at 12:26 am.
•
•
Join Date: Jul 2006
Location: Deptford, London
Posts: 936
Reputation:
Rep Power: 5
Solved Threads: 47
That image is an 8-bit per pixel PNG, and 8bpp PNGs can only contain 1 bit transparency ( a pixel is either fully opaque, or fully transparent ). With higher bpp PNGs, you're allowed to use alpha translucency ( a pixel can be 25%, 50%, 68%, etc transparent ). Microsoft IE versions have been OK with the transparency in 8bpp PNGs for some time, but not with the translucency in 32 bpp PNGs.
To solve... make sure you dont use translucency ( only transparency ), and save as 8bpp PNG to force 1-bit transparency.
See two attached images. They both work nicely on my browser ( Opera ), but I would imagine that only the 8bpp has a transparent background in IE ( especially IE6 or earlier ).
To solve... make sure you dont use translucency ( only transparency ), and save as 8bpp PNG to force 1-bit transparency.
See two attached images. They both work nicely on my browser ( Opera ), but I would imagine that only the 8bpp has a transparent background in IE ( especially IE6 or earlier ).
Last edited by MattEvans : Apr 10th, 2008 at 1:00 am.
If it only works in Internet Explorer; it doesn't work.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Web Developers' Lounge Marketplace
Other Threads in the Web Developers' Lounge Forum
- Previous Thread: Joomla!
- Next Thread: Link Issues with SSL Certificate


Linear Mode