开发者

How to Update Visual Studio's "Cascading Style Sheet Version for Validation"

开发者 https://www.devze.com 2023-03-07 12:45 出处:网络
In my Visual Studio 2010, the \"Cascading Style Sheet开发者_JAVA百科 Version For Validation\" is targeting CSS version 2.1. How can I update VS to target CSS version 3?I just downloaded and installed

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


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消