CSS Transparency Settings for All Browsers

.transparent_class {
	opacity: 0.5; /* the standards compliant attribute that all browsers should recognize, but... */
	filter:alpha(opacity=50); /* for IE */
	-khtml-opacity: 0.5; /* for old Safari (1.x) */
	-moz-opacity:0.5; /* for old skool Netscape Navigator */
}

(via)

4 Responses to “CSS Transparency Settings for All Browsers”

  1. Its really helpful. Thanx.

Trackbacks

User contributed tags for this post: