Results 1 to 9 of 9

Thread: Pb .png transparency in IE6

  1. #1
    Join Date
    Dec 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool [Solved] Pb .png transparency in IE6

    hell, i am using transparent .png pictures in my web site, http://bendahmane.societeg.com the result is perfect in Firefox but in IE6 the transparency is replaced by à white background? please is there some one who can help me ? Thanks
    Last edited by zintelix3d; 01-03-2008 at 07:45 AM.

  2. #2
    Join Date
    Sep 2004
    Location
    Little Falls, Roodepoort, South Africa
    Posts
    421
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    Also found this.. the problem seems to go away with I.E7.. not sure what the issue is..
    Very Best Rgds, Simonf :cool:
    __________________________________
    My Site | E-Mail Me

  3. #3
    Join Date
    Sep 2004
    Location
    Little Falls, Roodepoort, South Africa
    Posts
    421
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    Hi

    Did find this on the web...

    "One issue is the bug with I.E6 not rendering PNG images correctly. I.E6 is unable to produce the desired transparency, causing our site to look very unappealing. We considered hacking the browser using CSS codes, but it would cause our site unable to validate against W3C standards (which we are advocating). In the end, we chose to ignore this problem since I.E7 is released (which renders PNG correctly).
    "
    Very Best Rgds, Simonf :cool:
    __________________________________
    My Site | E-Mail Me

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Not ideal in all situations, but valid:

    http://homepage.ntlworld.com/bobosola/
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Alternatively, right back at home:
    http://www.dynamicdrive.com/forums/s...ad.php?t=22176
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by tech_support View Post
    Not good, it will unnecessarily burden IE 7.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Dec 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello, Is there other way to resolve this problème specially for IE6 & IE7, because many peoples disable javascript! like me (spywares and virus), thank for your answers... comming soon

  8. #8
    Join Date
    Dec 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    Quote Originally Posted by tech_support View Post
    hello , I tryed this code, it's work for pictures under IE6 but not for backgroud pictures Is there a solution? thank you sooooo much

  9. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    These png fixing scripts, there are a few around, use the alpha image loader filter and some scripting and css gymnastics in IE to mimic an image. That's why they work well with images.

    However, the alpha image loader filter itself is actually specifically designed for background image effects. This is a little different than a regular background-image though.

    Generally with background images, what you can do is to use IE version specific comments for styles to use the filter for IE 5.5 and 6, allowing all others to use the regular background image style.

    Important Note: Many folks are unaware of the fact that IE 7 handles png images just fine on its own. Or if they are, seem to forget about this when tweaking earlier IE versions. The tweaks used for IE 5.5 and 6 should never be written so as to cause IE 7 to use them, because these tweaks aren't as accessible in any browser (IE or otherwise), as are regular images and css.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •