Solved

ASP.net 4 Style Sheet  'filter' is not a known CSS property

Posted on 2012-04-10
2
354 Views
Last Modified: 2012-06-27
In my ASP.net Web application I get the warning 'filter' is not a known CSS property
on my style sheet with the following code. Not sure what to do.
Thanks


body {
}
.Panel1_Gradient
{
       filter:progid:DXImageTransform.Microsoft.Gradient
       (GradientType=1, StartColorStr='#FF0000', EndColorStr='#FFB6F1')
}
 
.Panel2_Gradient
{
       filter:progid:DXImageTransform.Microsoft.Gradient
       (GradientType=0, StartColorStr='#F0F0F0', EndColorStr='#000000')
}
0
Comment
Question by:murbro
2 Comments
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 500 total points
ID: 37829736
filter: is a custom property, not supported by any other browser than IE. That's probably why Visual Studio said it's not recognized, as it's not a valid property according to the W3C.

Reference:
http://social.msdn.microsoft.com/Forums/en-US/wlcontrolsdev/thread/e7988b02-614c-4052-b695-8ef6d563e524/
0
 

Author Closing Comment

by:murbro
ID: 37829793
Thanks
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question