Chris Broadfoot wrote:
> david wrote:
>> Daniel Hammond wrote:
>>> | Is there a way to reduce the opacity of the background color | of a 
>>> div to a percentage less than 100%,
>>> | but not completely transparent? | 50% for example.
>>> | Daniel Hammond
>>>
>>> | yes there is a way:
>>> | check this out:
>>> | http://www.w3schools.com/css/css_image_transparency.asp
>>> | Nina..
>>>
>>> Thanks, that's almost exactly what I need. The only problem is that 
>>> it also
>>> makes the text transparent. I want the text to remain at 100% opacity.
>>
>> Transparent applies to everything in the element. You have to put the 
>> text in an element that is completely outside of the transparent one, 
>> then position it over the transparent element.
> 
> Or use a semi transparent PNG

Yah, use it as a background for the element containing the text. I 
didn't think of that for the original poster.

-- 
David
[EMAIL PROTECTED]
authenticity, honesty, community
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to