Is it alright to use a .png file?

Discussion in 'HTML & Website Design' started by Crazace2006, Jan 4, 2008.

  1. #1
    I built a website that has a pattern in the background and I wanted the logo to have a transparent background. I used a .png for the logo of www.leftystrats.com . Do pretty much all broswers support png files now? GIF's did not provide enough detail.
     
    Crazace2006, Jan 4, 2008 IP
  2. smallfishbigmoney

    smallfishbigmoney Active Member

    Messages:
    176
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #2
    smallfishbigmoney, Jan 4, 2008 IP
  3. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #3
    Internet Explorer 6 does not support PNG transparency, but you can fix that with Javascript
     
    blueparukia, Jan 4, 2008 IP
  4. k3lvin

    k3lvin Peon

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i use .png file for most of my designs. Works good on firefox and ie. 7.
     
    k3lvin, Jan 4, 2008 IP
  5. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Well, here's your site in IE6:
     

    Attached Files:

    Stomme poes, Jan 5, 2008 IP
  6. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You can either use the Javascript which was mentioned (called PNGfix) OR you can likely get away with a gif for this one, just give it a blueish matte background and THEN remove the background for transparency. You'll only see the little bit of blue if the logo sits on a pure white background.

    I only see a few colours on the text. Normally that's the main problem of gif's is that they can't hold as many colours as pngs.

    *Edit: nevermind, I see what you mean-- the shadows can only be done with PNG because you've got pixels with partial transparencies. So, you'll have to go with the JS.
     
    Stomme poes, Jan 5, 2008 IP
  7. curtisfrenchy

    curtisfrenchy Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    pgn is fine
     
    curtisfrenchy, Jan 5, 2008 IP
  8. cff

    cff Active Member

    Messages:
    114
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    53
    #8
    As it as been told, IE6 does not support PNG transparency, but it can be fixed. Web developers who work with PNG files can use the AlphaImageLoader filter
     
    cff, Jan 7, 2008 IP
  9. Sarm

    Sarm Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I would use a .png. My view is that if IE does not choose to be standards compliant, then webmasters shouldn't go out of their way to support them.
     
    Sarm, Jan 7, 2008 IP
  10. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #10
    Of course no one would notice if you're working on small sites, but if you ever get to the big sites clients will start complaining, and you'll have no choice but to support them. I hope the user base for IE6 decreases dramatically when IE8 comes out, so in 2-3 years we won't have to support it.
     
    soulscratch, Jan 7, 2008 IP
  11. t.sealey

    t.sealey Peon

    Messages:
    110
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Why not just upgrade to IE7.
     
    t.sealey, Jan 7, 2008 IP
  12. VeryCheaptemplates

    VeryCheaptemplates Active Member

    Messages:
    486
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #12
    You just love telling people to upgrade to IE, dont you :rolleyes:


    "Hey honey, my water just broke!"
    "Why not just upgrade to IE? :confused:



    :D Kidding
     
    VeryCheaptemplates, Jan 7, 2008 IP
  13. t.sealey

    t.sealey Peon

    Messages:
    110
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #13
    If your using 6 why not just upgrade to 7. Its not not 6 is better...
     
    t.sealey, Jan 7, 2008 IP
  14. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #14
    I pray no one on this forum uses ie6 as their primary browser. And to answer your question, it's because most people on this earth don't even know there's more than one browser, they think IE is the internet, they don't know how to upgrade.
     
    soulscratch, Jan 7, 2008 IP
  15. t.sealey

    t.sealey Peon

    Messages:
    110
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #15
    :) Firefox and IE7(because of market share)for the win!!!
     
    t.sealey, Jan 7, 2008 IP
  16. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #16
    ??????????????
     
    soulscratch, Jan 8, 2008 IP
  17. Chios

    Chios Well-Known Member

    Messages:
    1,740
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    195
    #17
    Chios, Jan 8, 2008 IP
  18. recon16

    recon16 Peon

    Messages:
    52
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #18
    I use .png for my sites, though I have heard that it has some incompatabilities with some older browsers... I have not encountered any on my own.
     
    recon16, Jan 8, 2008 IP
  19. Chios

    Chios Well-Known Member

    Messages:
    1,740
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    195
    #19
    well if you took the time to read one or two posts before posting for increasing your post count, you would have found out which those browsers are :confused:
     
    Chios, Jan 8, 2008 IP
  20. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #20
    Yep. I swear, some DP members don't know how to read at all, could gain some knowledge posted by the more experienced... yet they continue to reply with novice insight.
     
    soulscratch, Jan 8, 2008 IP