views:

259

answers:

1

Visual Studio does a lot to help you make sure that your html/xhtml is valid and well formed. This is nice except for when you are breaking those rules knowing full well what you are doing and why. I really would like to 'turn off' the validation messages that tell me that css 3 named colors are not valid for the version of css it thinks I'm targeting.

How do I get VS to calm down and not warn me about some of this stuff?

+1  A: 

Try Options > Tools > Text Editor > CSS > CSS Specific.

You can uncheck one or more of:

  • Detect Errors
  • Detect Unknown Properties
  • Detect Invalid Values
CJM