?
Solved

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

Posted on 2012-04-10
2
Medium Priority
?
359 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:Murray Brown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 2000 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:Murray Brown
ID: 37829793
Thanks
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

762 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