Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1083205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:24:19+00:00 2026-05-16T22:24:19+00:00

I have almost solved a huge problem with png files and transparency in IE

  • 0

I have almost solved a huge problem with png files and transparency in IE browsers on my website.

The problem is that only in IE6, this wont work.

I have this code called unitpngfix.js which displays transparent PNG images correctly on my website in IE browsers.

I have a DIV with a png image inside it like this:

<div id="pop" class="pop_komm">
<img src="Graphics/komm.png">
</div>

css:

.pop_komm {
position: absolute;
z-index: 20;
height: 52px;
width: 208px;
left: 760px;
top: 239px;
display:none;
zoom:1;
 }

And I have a very basic js code for making the container visible:

 document.getElementById("pop").style.display='block';
 //This triggers on a drop list change event, so this DIV shows when I change a drop list value

This wont work however. Nothing shows up in IE6. If I remove the unitPngFix completely, then the DIV shows with the PNG file, but the transparency wont work.

Also, if I reverse the js function and “HIDE” the DIV instead of showing it:

    display='none';

Then it works fine!
In other words, when the DIV is hidden, then the unitPngFix prevents the PNG file to be shown. I am suspecting a bug here!?

Any help?

Here is UnitPngFix website

Thanks

PS: I will tag JQuery also, as I might have to use it to fix this, but I would prefer plain js as the website is currently only built using that.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T22:24:20+00:00Added an answer on May 16, 2026 at 10:24 pm

    Instead of hiding it, set a huge left offset and the PNG fix should apply. Then to show it, set the left to a visible legit value.

    left:-9999em then to show it, left:760px

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I almost have this solved but need a little push. Here's what I have:
NOTE: I have solved the majority of this problem but have run into a
I have almost the worst spec in the world. An application that exists and
I'm sure that my problem is common and I almost sure that it doesn't
I have a sed command that I want to run on a huge, terrible,
UPDATE #2: I have solved almost all my issues bar the one major one.
This question is a more special case of the problem described (and solved) in
I have a website which requires javascript enabled to be functioning properly. So this
I have several input and option elements on my page, each (well almost) have
Some development skills, like refactoring operations, feel like they have an almost unlimited pontential

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.