Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Layer Visibility

Status
Not open for further replies.

keen01

MIS
Nov 16, 2004
73
US
I want to make a layer slightly transparent. I tried creating a CSS named fade and in the extensions made alpha(opacity=50) and it didn't do anything?
 
This CSS should give you 50% opacity in IE, FF, NN, Safari, and any other browser that supports the CSS opacity property:

Code:
yourSelector {
	opacity: 0.5;
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
	filter: alpha(opacity=50);
}

Hope this helps,
Dan

[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top