2008/8/4 Karl Bedingfield <[EMAIL PROTECTED]>:
> h2.main-heading {
> background-color: #000;
> color: #fff;
> font-size: 300%;
> font-weight: bold;
> line-height: 1.0em;
> letter-spacing: -2px;
> margin: 0;
> margin-top: 18px;
> padding: 10px 10px 15px 10px;
> text-transform: none;
> /* for IE */
> filter:alpha(opacity=40);
> /* CSS3 standard */
> opacity:0.4;
> }
>
>
> The trouble is, I cannot get the h2 #000; background to fade. It is
> always a solid balck.
Did you try adding a height/width to the element in question? Seems
like the usual hasLayout issue in IE.
http://www.quirksmode.org/css/opacity.html
Not sure about Moz, the listed code works in FF3 at least.
Regards,
Svend
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/