CSS Transparancy
» Articles / Code » HTML/CSS » CSS Transparancy
Transparency is one of those weird things that is treated completely differently in all browsers. To cover all your bases, you need four separate CSS statements. Fortunately they don’t interfere with each other really, so using them all every time you wish to add transparency is no big hassle and worry-free. Here they are, and are currently set to 50% transparency:
.transparent_class {
filter:alpha(opacity=50);
-moz-opacity:0.5;
opacity: 0.5;
}
This is how it works:
Post your comment
Comments
No one has commented on this page yet.
RSS feed for comments on this page | RSS feed for all comments