Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am developing a website. When I used the CSS property "word-wrap", VIsual Studio 2010 is showing a warning: Validation (CSS 2.1) 'word-wrap' is not a known CSS property name.

When I tested the website, it is working fine. However, can there be any issue in using this property ignoring the warning?

share|improve this question
up vote 2 down vote accepted

You may ignore css warnings as far as they do not break your page layout. However, if you do not use HTML validation in your development, you may turn off it as well.

You'll need to turn off HTML Validation:

  • Tools > Options > Text Editor > HTML > Validation
  • Uncheck the "Show Errors" check box.

And CSS file error detection:

  • Tools > Options > Text Editor > CSS > CSS Specific
  • Uncheck "Detect Errors"
share|improve this answer

Anything that is proprietary will only work in the browser that it is for. In other browsers, it is simply ignored. So in some way it is safe to ignore the warning, as long as you know it will not break the layout of the page in browsers that do not support the feature.

As far as the feature itself, from what I checked, it is a CSS3 feature. Which is why it will not validate as CSS2.1:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.