Is it possible to change CSS Validation scheme in VS2010
You have a dropdown in the top menu where you can switch the css validation. It's called Cascading stylesheet version for validation. If you can't see it right click on the menu and check Style sheet so it will show.
how to set the default css validation scheme in visual studio 2010?
i found the answer on http://forums.asp.net/t/1486063.aspx/1
well its seems that to change the default css validation you need to change the default html validation from Tools>Options>Text Editor>HTML>Validation.
so i changed the target to XHTML 1.0 Transitional and now the css is validated to 2.1 by default :)
VS2010, HTML 5 and CSS 3 Validation
First, right click on the toolbar in VS2010 and enable 'Style Sheet'. Then once a CSS file is open and has focus you can change the target CSS validator from the drop down.
Setting default CSS validation schema in Visual Studio 2013?
There doesn't seem to be a UI for changing the schema version but it can be done manually.
Navigate to:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Packages\schemas\html\
There should be a file called html_5.xsd
that contains the the setting.
Look for the vs:cssschema
element (which should be near the top of the file) and change it from :
vs:cssschema="CSS 2.1"
to
vs:cssschema="CSS 3.0"
After re-starting Visual Studio the CSS schema validation version should change.
Make CSS 3.0 the Default in Visual Studio 2010 SP1 Web Update
I had a similar problem after SP1.
I had to specifically install the "CSS 3 Intellisense Schema" found here -->
http://visualstudiogallery.msdn.microsoft.com/7211bcac-091b-4a32-be2d-e797be0db210
Restart VS and it started remembering what I had set last. HTH
How to make VS2010 quietly reload files in editor
In Tools/Options, navigate to Documents and check "Auto-Load changes, if saved."
EDIT: note that this will affect all files; as far as I know it's not possible to enable this selectively. I'm sure an extension could change that!
Related Topics
Less: Unrecognized Input Error When Using Bootstrap
Background with 2 Colors in Javafx
Why Is Text Getting Blurry and Wobbles During 2D Scale Transform
Bootstrap Change Order of Columns
Stacking Order of Elements Affected by Opacity
What Is This CSS Selector? [Class*="Span"]
Why Can't I Save CSS Changes in Firebug
Suggestions for Debugging Print Stylesheets
Using Font Awesome Icon for Bullet Points, with a Single List Item Element
Forcing Child to Obey Parent's Curved Borders in CSS
Webpack "Ots Parsing Error" Loading Fonts
Can One CSS File Take Priority Over Another CSS File
Zebra Striping a Table with Hidden Rows Using CSS3
Hide Up & Down Arrow Buttons (Spinner) in Input Number - Firefox 29