Stop Visual Studio From Formatting Code
How do you stop visual studio 2013 from formatting code visual studio is inserting spaces after colons in my inline styles in a html file, which breaks it.
Solution 1:
Go to Tools > Options > Text Editor > HTML (Web Forms) > Formatting
and configure the formatting options you want.
Also, keep in mind that your "code" isn't actually valid html, attribute values should be wrapped in quotes. That's why it's messing with your spaces.
<divstyle="float:left;width:150">
Post a Comment for "Stop Visual Studio From Formatting Code"