Anyway - is there a way of adding the 3 necessary filters below to give
my div an 'opaque' background without invalidating my CSS?
If you use non-standard properties, then your CSS can't be
valid.
so there is not a valid way of adding transparency to a layer - is that
right? That seems a shame as it is a good tool I think - does anyone else
use it or is it valid code only in here?
There is. In CSS3: http://www.w3.org/TR/css3-color/#transparency
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.
The fun does not end there. In order to have opacity work properly in
MSIE, the element needs to have layout and in order to windows XP's
font smoothing not botching up the rendering for in-between values the
element needs a background colour.
--
Chris Heilmann
Book: http://www.beginningjavascript.com
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************