SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Aug 2003
    Location
    Great White North
    Posts
    172
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PNG transparency in IE 5+

    Hi,

    I was wondering if anyone could recommend a good js script that can resolve transparency issues within IE5+ ?

    I have been poking around Google but haven't found "the one" that I would implement.

    Cheers,

    COB
    hockeyunderground.net
    - Fantasy Hockey Depot

  2. #2
    SitePoint Evangelist hexburner's Avatar
    Join Date
    Jan 2007
    Location
    Belgium
    Posts
    591
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's a solution with JavaScript using conditional comments for IE:
    http://homepage.ntlworld.com/bobosola/pnghowto.htm

    If it's for backgrounds in CSS, you can include a 'lt IE 7' stylesheet where you overwrite some CSS properties.
    Here's an example:
    Code CSS:
    #example {
        background-image: none;
        filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/my-image.png',sizingMethod='scale');
    }

  3. #3
    SitePoint Wizard gRoberts's Avatar
    Join Date
    Oct 2004
    Location
    Birtley, UK
    Posts
    2,439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


  4. #4
    SitePoint Zealot
    Join Date
    Aug 2003
    Location
    Great White North
    Posts
    172
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks!
    hockeyunderground.net
    - Fantasy Hockey Depot


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
  •