1

Occasionally when I open up Firefox in an ASP.NET MVC 4 project, I get warnings like:

Validation (CSS 3.0): "\9" is not a valid value for the "width" property.

When this happens, "\9" is inserted into the .css file in totally random places. For instance,

.carousel-inner > .item > a > img {  
   display: block;  
   width: 100% \9;  
   max-width: 100%;  
   height: auto;  
}

This forces me to manually delete all instances of "\9" from the .css file. What's going on?

alex
  • 6,818
  • 9
  • 52
  • 103

1 Answers1

1

\9 is a "CSS hack" specific to Internet Explorer 7, 8, & 9.

Reference

Kaushik
  • 2,072
  • 1
  • 23
  • 31