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")?

Hi Robert, assuming someone has not answered your question already,  
yes, I think you probably can*.

.disabled {
        background-color: #666;
        width: 100%;
        height: 100%;
        -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.

* disclaimer - I haven't tried this - not sure whether it will work.  
Do let me know whether it works out.

Best,
  - Rahul.
______________________________________________________________________
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