This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > May 2005 > Alpha settings using CSS?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Alpha settings using CSS?
bissatch@yahoo.co.uk

2005-05-22, 7:25 pm

Hi,

Is it possible to set the alpha setting of an object (i.e. image) using
CSS. I am aware that this can be done in IE only but I would rather use
something more standard like CSS that can be supported in all browsers.
Cheers

Burnsy

logicearth@gmail.com

2005-05-23, 7:43 pm

Sorry but there isn't a standard cross browser way to do it.

chris@leipold.ws

2005-05-23, 7:43 pm

Hi Burnsy,

in CSS2 it's not.

Chris


bissatch@yahoo.co.uk wrote:
> Hi,
>
> Is it possible to set the alpha setting of an object (i.e. image)

using
> CSS. I am aware that this can be done in IE only but I would rather

use
> something more standard like CSS that can be supported in all

browsers.
> Cheers
>
> Burnsy


Gus Richter

2005-05-23, 7:43 pm

bissatch@yahoo.co.uk wrote:
> Hi,
>
> Is it possible to set the alpha setting of an object (i.e. image) using
> CSS. I am aware that this can be done in IE only but I would rather use
> something more standard like CSS that can be supported in all browsers.


Alpha blending in Mozilla/FF.
-moz-opacity was recently (gecko 1.7+) replaced with the CSS3 opacity
style property (same format, sans "-moz-"). The -moz-opacity psuedo
style property may even now be deprecated? One could include both, of
course.
Also see:
http://www.w3.org/TR/2003/CR-css3-c...514/#rgba-color
http://www.w3.org/TR/2003/CR-css3-c...514/#hsla-color
http://www.w3.org/TR/2003/CR-css3-c...4/#transparency

--
Gus
logicearth@gmail.com

2005-05-28, 11:23 pm

Sorry but there isn't a standard cross browser way to do it.

chris@leipold.ws

2005-05-28, 11:23 pm

Hi Burnsy,

in CSS2 it's not.

Chris


bissatch@yahoo.co.uk wrote:
> Hi,
>
> Is it possible to set the alpha setting of an object (i.e. image)

using
> CSS. I am aware that this can be done in IE only but I would rather

use
> something more standard like CSS that can be supported in all

browsers.
> Cheers
>
> Burnsy


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews