Reputation: 26311
The following CSS doesn't validate using http://jigsaw.w3.org/css-validator/.
Is it invalid? Should it not be used, and if not, what should be used?
div.fade
{
opacity:0.5;
filter:Alpha(opacity=50); /* IE8 and earlier */
}
Upvotes: 0
Views: 916
Reputation: 15168
The filter part, as you are using it, has never been part of the CSS spec and is proprietary to IE alone. That is why it's flagged as invalid.
Upvotes: 1