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 9 of 9
  1. #1
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    There's a bug in IE that doesn't allow variable PNG transparency when using normal <img> tags. Mozilla works properly.

    What you have to do is use, tada, IE-proprietary code. Here's a sample: instead of using:
    Code:
    <img width="500" height="100" src="strip.png">
    use
    Code:
    <div style="width:500px; height:100px;
        filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='strip.png')">
        &nbsp;
    </div>
    instead. Be sure to specify the correct width and height in the <div> tag as shown; otherwise the image might not be shown or be cropped.

    MS doesn't outright state this as a bug, but it is mentioned in their knowledgebase: http://support.microsoft.com/default...;en-us;q294714
    WebCoach101 likes this.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  2.  

  3. #2
    Senior Member nsr81's Avatar
    Join Date
    Oct 2002
    Posts
    1,132
    Member #
    250
    Liked
    15 times
    thx for the tip
    There and Back Again :Ogre:

  4. #3
    Member DevilishDreams's Avatar
    Join Date
    Nov 2002
    Posts
    42
    Member #
    333
    thatz kewl
    ------------------------------------------
    posted by DevilishDreams
    http://karate-kid.tk

  5. #4
    Junior Member
    Join Date
    Aug 2010
    Posts
    6
    Member #
    23048
    Hay there is a javascript hack for this

  6. #5
    Junior Member cleaninggroup's Avatar
    Join Date
    May 2010
    Posts
    7
    Member #
    22096
    Thank you, i already kinda knew that but more knowledge doesnt hurt! THANKS! ")

  7. #6
    Junior Member CMSInstalls's Avatar
    Join Date
    Sep 2010
    Posts
    22
    Member #
    23541
    always good information to share thanks!

  8. #7
    Junior Member Red Racer's Avatar
    Join Date
    Jul 2010
    Posts
    20
    Member #
    22720
    thanks, im sure this tip will save me hours of starring at the screen.:classic:

  9. #8
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Way to resurrect an 8 year old thread. It must rank high in google.

  10. #9
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,656
    Member #
    1234
    Liked
    137 times
    This was a bug in IE 6 guys.
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at houseofhelp.com


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