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 10 of 10
  1. #1
    Senior Member james's Avatar
    Join Date
    May 2003
    Location
    Melbourne, AUSTRALIA
    Posts
    364
    Member #
    1352
    I decided to try and create a 32 bit png image with transparency, just to see how well it worked on different backgrounds.
    I just created some text, did everything right, and chose Save for web, png, [X] Transparency.
    For comparison I saved it as GIF with transparency.
    I created a web page with a green bkgd for comparison.

    Upon opening it in IE6, the png appeared with a grey box around it. At first I suspected I did something wrong, but then I opened it with Opera and Netscape, and it worked beautifully.

    Any suggestions? Look, my first offer!
    James H
    Home Page · Mars Page · www.fihsf1.net (formerly www·fihs·net)

  2.  

  3. #2
    Senior Member iphong's Avatar
    Join Date
    Mar 2003
    Location
    Arlington, VA
    Posts
    751
    Member #
    916
    i used to open it in Safari, IE and camino. it's viewed well, there was no grey box arround it.
    Vu Tuan Phong
    iPhongDesign

    http://iphong.com
    http://adstudio1.com

  4. #3
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    IE for Windows has what I call a bug but what MS doesn't for PNG transparency. Look in the Tutorials forum here for a fix.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  5. #4
    Senior Member iphong's Avatar
    Join Date
    Mar 2003
    Location
    Arlington, VA
    Posts
    751
    Member #
    916
    hey James! why did you put off your avatar, it's very nice???
    Vu Tuan Phong
    iPhongDesign

    http://iphong.com
    http://adstudio1.com

  6. #5
    Senior Member james's Avatar
    Join Date
    May 2003
    Location
    Melbourne, AUSTRALIA
    Posts
    364
    Member #
    1352
    I've found some resources on the web, and you need to use one of the special filters to load the png's with alpha channel.
    iphong, are you telling me to get an avatar? I'll see what I can do.
    James H
    Home Page · Mars Page · www.fihsf1.net (formerly www·fihs·net)

  7. #6
    Senior Member james's Avatar
    Join Date
    May 2003
    Location
    Melbourne, AUSTRALIA
    Posts
    364
    Member #
    1352
    This link tells you how to do it: http://www.alistapart.com/stories/pngopacity/ .
    For IE5.5 and IE6 you use [minicode]<DIV ID="myDiv" STYLE="position:relative; height:250px; width:250px; filterrogidXImageTransform.Microsoft.AlphaImageLoader(src='my image.png',sizingMethod='scale');"></DIV>[/minicode], and the link provides details of doing this in a cross-browser way.
    Basically IE6 doesn't support it!
    James H
    Home Page · Mars Page · www.fihsf1.net (formerly www·fihs·net)

  8. #7
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Originally posted by filburt1
    IE for Windows has what I call a bug but what MS doesn't for PNG transparency. Look in the Tutorials forum here for a fix.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  9. #8
    Senior Member james's Avatar
    Join Date
    May 2003
    Location
    Melbourne, AUSTRALIA
    Posts
    364
    Member #
    1352
    OK, I found the tutorial, but that will only work for IE6 & 5.5. The link I gave also tells you how to make it compatible with browsers that support PNG transparency 'normally', and display a gif alternative for older browsers.
    I guess you consider that a different topic, namely js detection of browser type, non?
    James H
    Home Page · Mars Page · www.fihsf1.net (formerly www·fihs·net)

  10. #9
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    I for one just wouldn't use alpha-blended PNGs in any pages yet until MS decides to unbreak IE...any JS solution is messy.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  11. #10
    Senior Member james's Avatar
    Join Date
    May 2003
    Location
    Melbourne, AUSTRALIA
    Posts
    364
    Member #
    1352
    True. It seems a little odd to me that MS hasn't fixed it yet...
    Anyway, let's call it end of topic shall we?
    James H
    Home Page · Mars Page · www.fihsf1.net (formerly www·fihs·net)


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 09:06 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com