> On 25-Oct-07, at 11:57 PM, Robert James wrote:
>
>> Is there anyway I can show a gray semi-transparency over any elements with a 
>> certain
>> class ("disabled")?
>>
On Thu, 8 Nov 2007 15:27:14 +0530, Rahul Gonsalves replied: 
> [...]
>
> -moz-opacity: 0.7;
> opacity: 0.7;
> filter:alpha(opacity:70)
> }
>
> The first rule provides opacity levels in Gecko based browsers (Camino, 
> Firefox,
> SeaMonkey), the second to Safari (and Opera I think), and the third is an IE 
> specific
> one, which I suspect is not valid code, but which works.
>

Yes, this works; except that should be "filter: alpha(opacity=70);".
The "gray" will depend on your background-color of course.

FWIW - "opacity" works in Gecko back to Netscape 7.2 (Win) here.


Cordially,
David
--

______________________________________________________________________
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