I'm working on a prototype of a Single Sign On (SSO) solution for a web portal using Windows Cardspace as the authentication mechanism. This means I've spent my weekend developing web sites which may explain my foul mood.
I was applying some color attributes to some of my UI controls which rendered fine, but generated compiler errors because they were failing CSS Validation. Since it renders without issue (even between browsers), I'm not sure why its an error at all. In any event these errors were preventing me from continuing with my SSO server work. Fortunately we can specify how to treat CSS validation errors during a build in visual studio.
1. Go to Tools -> Options -> Text Editor -> HTML -> Validation
2. Uncheck the Show Error option
3. Click OK