How to give cross browser transparency to element's background only?
- by metal-gear-solid
How to give cross browser transparency to background only?
I want to give transparency to background of ul { background: } only don't want to make text inside ul li a {} transparent.
ul {
filter: alpha(opacity=50); /* internet explorer /
-khtml-opacity: 0.5; / khtml, old safari /
-moz-opacity: 0.5; / mozilla, netscape /
opacity: 0.5; / fx, safari, opera */
}
this code make everything transparent http://perishablepress.com/press/2009/01/27/cross-browser-transparency-via-css/