[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2012-04-10
2
Medium Priority
?
367 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
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Loops Section Overview
Suggested Courses
Course of the Month18 days, 6 hours left to enroll

830 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