Is there a way to stop Visual Studio 2008 from checking whether css classes exist when editing pages and user controls? It seems ridiculous to put dummy stylesheets on every single user control.
Yes there is a way. Go to Tools>Options->Text Editor->CSS->Css Specific
There is an option fgroup here called Errors with 3 check boxes.
Detect Errors
Detect Unknown Properties
Detect Invalid Values
Hope this Helps,
Andrew :-)
The only way to disable it is to turn off HTML Validation:
Tools > Options > Text Editor > HTML > Validation
Uncheck the "Show Errors" check box.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With