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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Do I Lower The Opacity Of A Layer?

Status
Not open for further replies.

MonkeyBeard

Technical User
Dec 9, 2004
23
US
I have a large image and a black layer in front of it. I don't want the black layer to be completely opaque because I want to be able to partially see the image behind it, so how can I lower the layer's opacity down to something like 70%?
 
Add this style in the head of your document
Code:
<style type="text/css">
<!--
.opacity70 {

	filter: Alpha(Opacity=70);
}
-->
</style>

Then set the class of your layer to opacity70

Cheech

[Peace][Pipe]
 
Wait, okay... I figured out what you meant by that, so I named the layer "opacity70" and I pasted that code into my head... But it did nothing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top