Original article address: You
Cocould display CSS/html errors as warnings or as errors
In vs2008, a cool function can be provided to downgrade the display as any warning error. This function is very useful, it allows you to differentiate between verification errors and search for errors that cannot be generated by the program.
Http://www.watch-life.net/life-thinking/display-css-html-errors-as-warnings-or-as-errors.html
In vs2008, by default, any HTML/CSS error is displayed as a warning as shown in. Note that the warning has a green wavy line.
To enable this function, use the following menu: tool + Option + Text Editor + HTML + verification. As shown in
Http://www.watch-life.net/life-thinking/display-css-html-errors-as-warnings-or-as-errors.html
If you still want to display HTML/CSS errors as errors, do not select "as warning (HTML, CSS)" under "display errors, vs will display it as an error. Pay attention to the red wavy lines displayed.
Some HTML/CSS warnings are actually harmless. If compilation fails, it seems too strict.