Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Oct 2007
    Posts
    6
    Member #
    16048
    Hello friends
    My name is ankshaa,
    I have a strange problem, I am doing one website in that I have inserted a png image, this image is opening as tarnsparent image in firefox but when i open it in internet explorer background of an image is seen here !
    Please friends help me out in this problem, I have tried in different ways but i am not able get the solution for this problem
    I have attached the file to the following message.
    thank you
    Attached Images Attached Images

  2.  

  3. #2
    Junior Member linkerjpatrick's Avatar
    Join Date
    Oct 2007
    Location
    Greenville,SC
    Posts
    7
    Member #
    16039
    That's an issue with Internet Explorer. I think IE7 improves this but it was definitely a problem in IE6. Which version of IE are you using.

  4. #3
    Senior Member Steax's Avatar
    Join Date
    Dec 2006
    Location
    Bandung, Indonesia
    Posts
    1,207
    Member #
    14572
    IE6 and below do not support PNG transparency as-is. But there are JS scripts to do so, try googling them.
    Note on code: If I give code, please note that it is simply sample code to demonstrate an effect. It is not meant to be used as-is; that is the programmer's job. I am not responsible to give you support or be held liable for anything that happens when using my code.

  5. #4
    Junior Member
    Join Date
    Oct 2007
    Posts
    6
    Member #
    16048
    Quote Originally Posted by linkerjpatrick
    That's an issue with Internet Explorer. I think IE7 improves this but it was definitely a problem in IE6. Which version of IE are you using.
    I am using IE6, so do we have any chance to fix this bug (problem),

  6. #5
    Junior Member
    Join Date
    Oct 2007
    Posts
    6
    Member #
    16048
    thanks a lot for the reply guys,
    Is it good to use JS or shall i change the png format to gif format which one is better?

  7. #6
    Senior Member Steax's Avatar
    Join Date
    Dec 2006
    Location
    Bandung, Indonesia
    Posts
    1,207
    Member #
    14572
    PNG is just fine. Other browsers render it quite well, it's easily suited to your needs (GIF has the horrible 256 color restriction, meaning photo-like images are out of question). The JS is small and the only downside if it's off is a little tint in the images, nothing seriously mind-bending.
    Note on code: If I give code, please note that it is simply sample code to demonstrate an effect. It is not meant to be used as-is; that is the programmer's job. I am not responsible to give you support or be held liable for anything that happens when using my code.

  8. #7
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    Actually, there are significant downsides to the PNG transparency fix, but they typically only come into play when the PNG in question is used as a CSS background and you have interaction with elements related to the one that's had the fix applied to it. Some seriously crazy stuff can ensue. I had to assemble what is likely the dirtiest JS hack I've ever made in order to work around one of these issues in IE (disappearing text when hovering over a certain transparent PNG -- but the text was disappearing in a different element altogether; it was insane).


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:09 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com