Solved

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

Posted on 2012-04-10
2
352 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

759 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now