6

In my Visual Studio 2010, the "Cascading Style Sheet Version For Validation" is targeting CSS version 2.1. How can I update VS to target CSS version 3?

Joel Coehoorn
  • 399,467
  • 113
  • 570
  • 794
Jed
  • 10,649
  • 19
  • 81
  • 125
  • [This MSDN article](http://blogs.msdn.com/b/webdevtools/archive/2011/01/27/html5-amp-css3-in-visual-studio-2010-sp1.aspx) implies that CSS3 validation is supported, but doesn't give any info on how to config VS2010 to target CSS3. – Jed May 22 '11 at 20:35

2 Answers2

5

I just downloaded and installed Mojtaba.kaviani's "CSS 3 Intellisense Schema" and now my VS2010 has Intellisense support for CSS3 validation.

Jed
  • 10,649
  • 19
  • 81
  • 125
0

Option 2 is to go into C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\1033\schemas\CSS and rename css30.xml to css21.xml (backup your files first of course).

That way, even though VS will show it is validating for version 2.1 it will really be validating for version 3.0

adinas
  • 4,150
  • 3
  • 37
  • 47