Home All Groups Group Topic Archive Search About

appying alpha value in css

Author
15 Dec 2005 10:11 PM
micky
foo {
  background-color: rgb(255,0,0);
  color: rgb(0,0,0);
  opacity: 50%;



}

in vs2005, opacity attribute is not valid.

it says opacity is not a known css property name....

and also not apply in browser ...why?

i'd like to apply opacity .

Author
16 Dec 2005 12:55 AM
Bruce Barker
because opacity is not a valid css style property, so browsers ignore it,
and VS gives a warning. the only way to get opacity is to use an image.

-- bruce (sqlwork.com)


Show quoteHide quote
"micky" <somequest***@gmail.com> wrote in message
news:uC2AMScAGHA.2080@TK2MSFTNGP10.phx.gbl...
> foo {
>  background-color: rgb(255,0,0);
>  color: rgb(0,0,0);
>  opacity: 50%;
>
>
>
> }
>
> in vs2005, opacity attribute is not valid.
>
> it says opacity is not a known css property name....
>
> and also not apply in browser ...why?
>
> i'd like to apply opacity .
>

Bookmark and Share