/ Published in: CSS
If you've ever found yourself in the position of needing to place a semi-transparent image or layer on a web page, you've probably ended up reading various arcane methods involving 24-bit PNG graphics and proprietary IE AlphaImageLoader expressions. Luckily, there is an easier way; albeit at the expense of valid CSS.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#c-transparent { opacity: 0.7; -moz-opacity: 0.7; -khtml-opacity: 0.7; /* filter: alpha(opacity=70);*/ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70); }
URL: http://bitesizestandards.com/bites/easy-cross-browser-transparency