Transparent Html element cross-browser
October 24, 2007
Many times we we face the need of making a nice design that needs some sort of transparency. That’s something that makes your page clean and very usable. To do that just use CSS and the rest is a piece of cake. Though, it’s a bit of trouble because of different browser over the WWW.
For transparency, IE uses filter:alpha but mozila uses -moz-opacity
Anyways, if you need a HTML element to be transparent, create the below class and attach to it.
- .transparent
- {
- filter:alpha(opacity=60);
- -moz-opacity: 0.6;
- opacity: 0.6;
- }
 

RSS/XML