views:

398

answers:

1

A typical CSS property that I use often is overflow-x and overflow-y. Sometimes I use CSS 2.1 or later properties or selectors. These (correctly) raise a validation error:

Validation (CSS 2.0): 'overflow-y' is not a known CSS property name.

For years I ignored this, but it kinda feels wrong. It's possible to switch off warning in C# and other languages for a particular line, block, file or project. Is something similar possible for CSS (or HTML) errors or warnings? Instead of switching it all off, I prefer a more granular solution.

+2  A: 

http://stackoverflow.com/questions/2125455/how-to-make-visual-studio-stop-compiling-js-and-css-files

salgo60
Thanks, but that question is related, but not equal to this one: I want to ignore specific warnings (as you can do in C# for instance for warnings). Switching off warnings of CSS completely is not what I'm after (see last line in my q.).
Abel