>> The only other way (in my scenario) is to add a transparent image 'over'
>> the background to line up with the div - but this is a bit of a
>> 'fudge' and
>> seems a shame when there is code to do the job.
>> Do you know why it isn't valid?
>
> No idea. Opera and Safari support the CSS3 recommendation, Mozilla
> also offers an own CSS extension (with a valid -moz prefix). MSIE 6
> needs a Microsoft - only filter specification.
Firefox 1.5+ also supports 'opacity', no need for the '-moz' anymore.
Which then leaves MSIE alone. But anyway, MSIE is not interested in any
kind of valid code, so conditional-comments for MSIE-specific CSS comes
to mind:
<head>
<title>Validates where it should (xml+html), and not where nobody
cares</title>
<style type="text/css">
.fader { opacity: 0.5; }
</style>
<!--[if lt IE 7]>
<style type="text/css">
.fader { filter:
progid:DXImageTransform.Microsoft.Alpha(opacity=50); }
</style>
<![endif]-->
</head>
Ciao
Niels
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************