SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Jun 2009
    Posts
    815
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    png fix with that .htc file

    I'm making a website work locally on my mach. by downloading all files..

    figured out .png fix for IE6 is being done with iepngfix.htc...

    there's a gif referenced therein.. I can't download this img b/c it's only 1x1 px and when I put absolute path to it in browser it's so tiny I can't see it.. I put absolute path to it in .htc file but it's still not working.. I can't create one myself b/c I don't have Photoshop installed at work (I assume this is a completely transparent image? not 100% sure.. I have never done this like this, have only done it with jQuery, which of course is much simpler...;-)

    so I have two questions:

    1) is this an image that contains nothing but transparency? (I guess I can always create it tonight at home..) and
    2) why is this not working if I put absolute path to this tiny img in that .htc file? does it only work with relative path?

    thank you....

    PS: and can path to this .htc file in css be something like ../js/iepngfix.htc ??? (right now, b/c all links in curr site are back-end links, it's /js/iepngfix.htc... but of course links like this don't work in .html based sites you run in just windows.. have usu. architecture.. css/ dir, js/ dir, and so on..)

  2. #2
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,067
    Mentioned
    153 Post(s)
    Tagged
    2 Thread(s)
    While you're still implementing this: stop, and get DD_BelatedPNG. It's a lot better (and more modern) than the htc file
    Last edited by ScallioXTX; Sep 7, 2011 at 01:39. Reason: Added link
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  3. #3
    Under Construction silver trophybronze trophy AussieJohn's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    776
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Even better, unless you require a pixel perfect rendition, don't use png hacks.

    Having said that, I agree with Scallio that belatedPNG is a much better option than the .htc fix.
    var details = {
    . . web: "afterlight.com.au",
    . . photos: "jvdl.id.au",
    . . psa: "usethelatestversion.com"
    }


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
  •