Posted by Toby A Inkster on 05/18/07 08:09
..rhavin grobert wrote:
> 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%.
Don't set any opacity -- leave it at 100%. Set background-color to
"transparent" and add an alpha-blended PNG background image.
--
Toby A Inkster BSc (Hons) ARCS
http://tobyinkster.co.uk/
Geek of ~ HTML/SQL/Perl/PHP/Python/Apache/Linux
[Back to original message]
|