In html how do I make the background of a div semi-transparent, keeping the...

imported_Dave_G

New member
...content of the div solid? I've tried:

<div background-color:#ffffff style="opacity:0.6;
filter:alpha(opacity=60);">
<p style="opacity:1;
filter:alpha(opacity=100);"> TEXT <p>
<div>

This makes the whole thing, including the text, semi-transparent.
There is an image behind the div that I want to be partially seen behind the div but I want the text to be solid.

Thanks.
 
Back
Top