Click here to Skip to main content
15,881,898 members
Articles / Web Development / CSS
Article

Adding CSS 3.0 support to Visual Studio 2010

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
11 Oct 2013CPOL 11.7K   1  
Many of us want to use CSS 3.0. This feature is promised in Visual Studio 2010 however if you open any given CSS file, the option does not appear in

This articles was originally at wiki.asp.net but has now been given a new home on CodeProject. Editing rights for this article has been set at Bronze or above, so please go in and edit and update this article to keep it fresh and relevant.

Many of us want to use CSS 3.0. This feature is promised in Visual Studio 2010 however if you open any given CSS file, the option does not appear in the dropdown. So I decided to write this WIKI to help.

1. Open this link to download the CSS 3.0 installer. Click Here

2. The next step is equally important. Open the registry editor and do the following:

          2a. Find: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\{A764E895-518D-11d2-9A89-00C04F79EFC3}\Schemas

          2b. From there add a Key: Schema 5

          2c. Add two string values

                    Keyname: File
                    Value: css30.xml

                    Keyname: Friendly Name
                    Value: CSS 3.0

3. Make sure css30.xml is located in C:\program files\Microsoft Visual Studio 10.0\common7\packages\1033\schemas\css

4. In there you will find css.xsd, css10,css20,css21, and css-ie60. If you don't find CSS30.xml in this folder use windows search and copy the css30.xml file into this folder

5. Restart VS and open any given CSS file. Select CSS 3.0 and it should have CSS 3.0 validation enabled.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
The ASP.NET Wiki was started by Scott Hanselman in February of 2008. The idea is that folks spend a lot of time trolling the blogs, googlinglive-searching for answers to common "How To" questions. There's piles of fantastic community-created and MSFT-created content out there, but if it's not found by a search engine and the right combination of keywords, it's often lost.

The ASP.NET Wiki articles moved to CodeProject in October 2013 and will live on, loved, protected and updated by the community.
This is a Collaborative Group

754 members

Comments and Discussions

 
-- There are no messages in this forum --