Click to See Complete Forum and Search --> : Background color opacity


Aronya1
07-03-2003, 08:53 PM
Hi All,

Can this be done? I'm currently using a <span id=> tag to place a background color behind 2 lines of text. So far, so good, but the background color seems a little strong. Is there something akin to an 'opacity' value that could be applied to it, allowing for an adjustment of the strength of the color?

TIA
Aronya1

nkaisare
07-03-2003, 11:18 PM
No, currently there isn't a way to specify opacity of a background.

Your problem doesn't seem to be as much of transperancy as its about choice of a background color. If you are using blue color (#00f), you can make it progressively lighter using (#66f, #99f, or #66c and so on).

Aronya1
07-03-2003, 11:32 PM
That's what I'm doing as a workaround, but it's not the same. Changing the opacity doesn't change the color, just the intensity of it. Guess I'll have to wait for CSS4, eh?

Thanks for responding.

David Harrison
07-05-2003, 06:43 AM
I was going to ask this in a new thread but this one seemed related. So I was wondering is it possible to change the opacity of text, if so how? And if not, well what can you change the opacity of?