What Was I Thinking?

Follies & Foils of .NET Development

  Home  |   Contact  |   Syndication    |   Login
  41 Posts | 0 Stories | 97 Comments | 0 Trackbacks

News

Archives

Post Categories

Check These Out

Gurus

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

image

3. Click OK

posted on Monday, March 17, 2008 5:03 PM

Feedback

# re: QuickTip: Turn off CSS Validation Errors 5/14/2009 1:16 PM Mike
FYI, if you want to specifically disable the CSS validation errors, then disable error detection to CSS instead of HTML.

Go to Tools -> Options -> Text Editor -> CSS-> CSS Specific

Under Errors you can disable all errors or you can focus on the unknown properties (i.e. browser CSS hacks like opacity) or invalid values (i.e. system color names like lemonchiffon instead of #FFFACD)

I know you posted over a year ago, but I found your posting when Googling for help. This comment is for the next Googling developer looking for help.

# re: QuickTip: Turn off CSS Validation Errors 7/21/2009 10:54 PM Nick
>> This comment is for the next Googling developer looking for help. <<

And it indeed helped someone. Thanks!

btw. turning both off significantly reduces compilation time

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: