I have three div elements on a web page; all the same background-image. The first is set to 100% opacity, the second at 66%, the third at 33%.
This is the CSS I'm using:
I've tested my site in Safari, Firefox(Mac+Win), Opera(Mac+Win), Camino, Shiira, OmniWeb and IE6(Win) (had to put the second line in to get it working in IE
)
I ran my CSS through a validator last night and it reported that 'opacity' wasn't valid CSS
But it's in the W3C CSS3 recommendation.
It seems to work so perhaps I shouldn't worry too much but I'm curious as to why it says this isn't valid. Am I doing something wrong?
This is the CSS I'm using:
Code:
.fullfade {
opacity: 0.33;
filter: alpha(opacity=33); /* for IE */
}
I've tested my site in Safari, Firefox(Mac+Win), Opera(Mac+Win), Camino, Shiira, OmniWeb and IE6(Win) (had to put the second line in to get it working in IE
I ran my CSS through a validator last night and it reported that 'opacity' wasn't valid CSS
It seems to work so perhaps I shouldn't worry too much but I'm curious as to why it says this isn't valid. Am I doing something wrong?