try:

opacity:0.7;
-moz-opacity:0.7;
-webkit-opacity:0.7;
filter:alpha(opacity=70);



2011/3/26 Aaron <[email protected]>:
> Hi there,
> I am attempting to create a semi-transparent container. The following code
> works perfectly in chrome, but not in ie 8 where the container is displayed
> as a white box instead of a 70% opaque box. Any ideas where I'm going wrong?
> .transparencycontainer {
>     width:500px;
>     /* Fallback for web browsers that doesn't support RGBa */
>     background: rgb(255, 255, 255);
>     /* For IE 5.5 - 7*/
>
>  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#b2FFFFFF,
> endColorstr=#b2FFFFFF);
>     /* For IE 8*/
>     -ms-filter:
> "progid:DXImageTransform.Microsoft.gradient(startColorstr=#b2FFFFFF,
> endColorstr=#b2FFFFFF)";
>     /* RGBa with 0.7 opacity */
>     background: rgba(255, 255, 255, 0.7);
> }
>
> Also how do I translate the 70% opaque into the alpha value for IE (b2 in
> the code above) - at the moment I'm just working off of an example.
>
> Cheers,
> A
>
> --
> --
> You received this because you are subscribed to the "Design the Web with
> CSS" at Google groups.
> To post: [email protected]
> To unsubscribe: [email protected]



-- 
BAZINGA Designs

http://www.bazingadesigns.com

Igor Wnuk
Ul. PCK 5/20
24-100 Puławy

tel. 667 200 706

REGON: 060622686
NIP: 716-255-43-47

-- 
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]

Reply via email to