does transparent color in css creates issue of browser compability ?

Discussion in 'CSS' started by hansab, Apr 5, 2010.

  1. #1
    does transparent color in css creates issue of browser compability ? like ff, opera, ie ? or all the browsers understand the css transparent colors ?
     
    hansab, Apr 5, 2010 IP
  2. GameInfiniti

    GameInfiniti Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    nah dude i tried

    its css2 stuff
     
    Last edited: Apr 5, 2010
    GameInfiniti, Apr 5, 2010 IP
  3. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #3
    Transparent colors have worked in modern browsers for years and only IE that had serious issues.
     
    drhowarddrfine, Apr 5, 2010 IP
  4. canadianguy_001

    canadianguy_001 Peon

    Messages:
    97
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Some older versions of firefox and safari would require special css too:

    -webkit-opacity:0.5;
    -moz-opacity:0.5;
     
    canadianguy_001, Apr 5, 2010 IP
  5. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #5
    Can you define more clearly what you MEAN by transparent color...

    background-color:transparent;
    Works fine in all browsers; heck it's the default state of most elements since it's an alias to none.

    palette transparency on a .gif image or a .png - works 100% flawless since IE4. This is where a single color in the palette is chosen to be 100% transparent when rendered in the browser... believe it or not you can even make 24 bit color depth .png that use palette transparency, though few image creation softwares support doing it properly.

    8 bit alpha channel .png transparency - works in all modern browsers including IE7, requires javascript assist to work in 6 - fat, bloated, slow - no real reason to be using them in the first place apart from making the site fatter than it needs to be. Interestingly there's a rarely used version that uses a 8 bit palette with a 8 bit alpha for a 16 bit total 'per pixel' size, but that's used even less than the 24 bit palletized transparency.

    Opacity - works back to IE5 using the proprietary non-standard "filter" property, works in Mozilla and Webkit browsers using their PROPRIETARY non-standard testing properties (the -webkit and -moz canadianguy mentioned)- Opera supports the actual CSS standard for doing it.

    So... Just exactly which 'transparency' were you referring to?
     
    deathshadow, Apr 5, 2010 IP