1

For some reason when I run Css lint with Rhino I get the following errors:

Csslint error

I'm working with:

My elements look like this:

.body {
}

.testelement {

}

.loadingIndicator {
  width: 16px;
  height: 16px;
  background-image: url('/images/loadingIndicator.gif');
}

It seems some kind of encoding issue, but I can't seem to figure out what the problem is.

Daan van Hulst
  • 1,426
  • 15
  • 32

1 Answers1

1

I seem to have found the problem myself.

In Visual Studio 2012 the files are saved as UTF-8. Apparently CSS lint can't handle this encoding. UTF-8 without BOM seems to work without problems though.

Daan van Hulst
  • 1,426
  • 15
  • 32