png image not working in IE |
png image not working in IE |
pk941 |
Dec 25 2008, 12:40 PM
Post
#1
|
Member Group: Members Posts: 50 Joined: 1-January 07 Member No.: 1,426 |
I am trying to use a png image as a button. It works in Firefox and in IE7 but not in IE6. How can I make the png image work in IE6?
Thanks pk |
Frederiek |
Dec 25 2008, 01:07 PM
Post
#2
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
See ALA's article: http://www.alistapart.com/stories/pngopacity/
|
pk941 |
Dec 25 2008, 02:45 PM
Post
#3
|
Member Group: Members Posts: 50 Joined: 1-January 07 Member No.: 1,426 |
Thanks for the info but I am not sure what to do with it!! Do I cut and paste the "quick and dirty" code shown as is in the article? If so, where do I paste it! What if I have more than one png on the page? Thanks pk |
pandy |
Dec 25 2008, 03:08 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Does the image have alpha transparency (partial transparency, translucency)? If not, convert it to a JPG and avoid the hassle. Or a GIF if it has fully transparent parts.
|
pk941 |
Dec 25 2008, 05:49 PM
Post
#5
|
Member Group: Members Posts: 50 Joined: 1-January 07 Member No.: 1,426 |
Does the image have alpha transparency (partial transparency, translucency)? If not, convert it to a JPG and avoid the hassle. Or a GIF if it has fully transparent parts. What I am trying to do is make buttons with rounded corners that will sit on top of the background where ever I need to place them on the page. The only way I know how to do this is by making png images of buttons where any background around the button area of the png becomes transparent. thanks pk |
pandy |
Dec 25 2008, 05:58 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Sounds like full transparency to me. In that case you can convert the images to GIF. Or 256 colors PNG, if you have the software for it. It's only semi-transparency IE has problems with.
|
pk941 |
Dec 25 2008, 06:53 PM
Post
#7
|
Member Group: Members Posts: 50 Joined: 1-January 07 Member No.: 1,426 |
Sounds like full transparency to me. In that case you can convert the images to GIF. Or 256 colors PNG, if you have the software for it. It's only semi-transparency IE has problems with. Thanks Pandy, converting to a GIF with the full transparency seemed to have worked. I have so much to learn!!! Thanks again and have a good holiday pk |
pandy |
Dec 25 2008, 07:10 PM
Post
#8
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Good. I bet the image is much smaller too.
Not saying GIF is better than PNG. In fact a 256 colors PNG is usually smaller than a GIF. But you must have had a full color image to start with. |
Lo-Fi Version | Time is now: 24th April 2024 - 07:15 PM |