/    Sign up×
Community /Pin to ProfileBookmark

Problem using a transparent PNG-24, background-image, and Internet Explorer…

I use a [COLOR=Red]body { background:url(‘pic.png’) }[/COLOR] statement in my CSS. Internet Explorer doesn’t display transparency in PNGs correctly.

There is a fix that involves JavaScript, but it only works on <img> images, not css background images. Is there any way to make IE display the PNGs properly? Thanks!

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@ray326Jan 15.2006 — Is there any way to make IE display the PNGs properly?[/QUOTE]No
Copy linkTweet thisAlerts:
@goofy1989authorJan 15.2006 — cool. IE sucks. How about IE7? It seems to be doing a lot better so far?
Copy linkTweet thisAlerts:
@ray326Jan 15.2006 — I generally don't look at betas but I think I've read that's something they've worked on.
Copy linkTweet thisAlerts:
@pcthugJan 15.2006 — Whats the point of using transparency in a Body BG image anyways.
Copy linkTweet thisAlerts:
@goofy1989authorJan 15.2006 — Well, I'm using CSS to emulate frames and layers, so I would use the transparency on the topmost frame and it looks like the text under it goes under the frame.

Sorry, that was a crappy explanation I know,

[URL]http://www.cssplay.co.uk/layouts/frame.html[/URL]

That's what I'm doing, only that's a super advanced version. Mine only uses a "frame" on the top and a short navigation one on the side. It's for a school project...
×

Success!

Help @goofy1989 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...