locked
Parse Error in using filter in css file RRS feed

  • Question

  • User2031860760 posted

    when i use filter in my css then w3c validator gives me parse error and the error is :

    Parse Error . html #overlay{ background-color: #333; background-color: transparent; background-image:url(../../Scripts/Lightbox/Images/blank.gif); filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader (src="overlay.png", sizingMethod="scale")"; }

    code m attaching below:-

    * html #overlay{
    	background-color: #333;
    	background-color: transparent;
    	background-image:url(../../Scripts/Lightbox/Images/blank.gif); 
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader
    	(src="overlay.png", sizingMethod="scale");
    	
    	}
    Thursday, November 17, 2011 4:49 AM

All replies

  • User1943143334 posted

    Hi,

    Obviously! Since Filter works only with Microsoft IE browsers and it's not a W3C stanndard, hence the error!

    You can ignore it!

    Hope it helps u...

    Wednesday, March 21, 2012 7:51 AM