|
|
 |
Re: FN-FORUM: transparent boxes in css
date posted 11th May 2006 16:43
On 11 May 2006 16:21:24 -0000, "Catherine Hutchinson"
[EMAIL REMOVED] said:
>
> I've created a site that uses photographic backgrounds with transparent
> boxes overlaying the photos. I have done this all in CSS using the
> following:
>
> #content { margin: 10px; padding: 10px; float: left; width: 55%;
> font-size: 0.8em; filter:alpha(opacity=65); -moz-opacity:.65;
> opacity:.65; background-color:#ffffff; border: 1px outset #003366;
> color:#003366; }
>
>
> About Us
> Some text
>
>
> However, it causes problems with visibility because the box and it's
> content is shown at 65% opacity. Ideally I want the text to be 100%
> opacity and the box behind it to be 65% - is this possible or am I
> hoping for too much?
>
Could you apply style to the tag as well? Its not quite as elegant
as your solution, but it might work.
About Us
Some text
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard Lewis
Sonic Arts Research Archive
http://www.sara.uea.ac.uk/
-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
 |
|