Posted By

jamesming on 08/14/09


Tagged


Versions (?)

Who likes this?

7 people have marked this snippet as a favorite

zartgesotten
vali29
LeeRJohnson
thehamilton
esritter
wizard04
Priestd09


Simple CSS code for Transparency setting for all browsers, IE, Firefox, Opera, Safari and Google Chrome


 / Published in: CSS
 

URL: http://w3updates.com/css-transparency-setting-for-all-browsers-internet-explorer-firefox-opera-safari-google-chrome/

  1. .transparent_class {
  2. filter:alpha(opacity=50); /* ie */
  3. -moz-opacity:0.5; /* old mozilla browser like netscape */
  4. -khtml-opacity: 0.5; /* for really really old safari */
  5. opacity: 0.5; /* css standard, currently it works in most modern browsers like firefox, */
  6. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: wizard04 on September 3, 2009

Thanks for including comments! I've often wondered what the -moz and -khtml ones were for.

You need to login to post a comment.