English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am using a CSS for a project that I am developing. I acquired the CSS from another source and I am getting an error on the 'filter' property. What is the CSS property for filter in 2005?

filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#DCDFE5, EndColorStr=#BDC2CB);

That is the piece that I have.

Thanks

2007-02-25 01:35:24 · 1 answers · asked by F M 1 in Computers & Internet Programming & Design

1 answers

"filter" is not a valid CSS property. It is a proprietary CSS extension that only Microsoft IE recognizes. Visual Studio is designed to adhere to standards (thankfully) and does not like IE-only extensions to any W3C standard.

However, you should not have any problem compiling or publishing - VS will not stop either of those for a client-side syntax error. If you have all of your server-side code correct, it will publish regardless of HTML or CSS errors.

2007-02-25 03:13:32 · answer #1 · answered by Rex M 6 · 0 0

fedest.com, questions and answers