Posted by Neredbojias on 05/18/07 02:48
On Fri, 18 May 2007 00:34:48 GMT .rhavin grobert scribed:
> id like to have the following:
>
> <div><p>test</p></div>
>
> with the div having background #000000 and the text having color
> #ff0000, so
>
> div {background-color:#000000;}
> p {color:#ff0000;}
>
> now the problem:
>
> i want to have the div semitransparent like this...
> div {
> background-color:#000000;
> filter:alpha(opacity=77); -moz-opacity:0.77;
> opacity:0.77; -khtml-opacity:0.77;
> }
>
> but i want to have the text at opacity 100%.
>
> any ideas?
I goofed around with this a few months back and the only thing I got to
work was layering.
--
Neredbojias
He who laughs last sounds like an idiot.
Navigation:
[Reply to this message]
|