CSS Validation Error

Perseus

Registered
I used the W3 CSS validator and I get this message:

Please, validate your XML document first!

Line 55

Column 146

The reference to entity "warning" must end with the ';' delimiter.

Hmmm....I know what it means by Line 55 but I don't see where there is an error. Any ideas?
 
Perseus said:
The reference to entity "warning" must end with the ';' delimiter.

Hmmm....I know what it means by Line 55 but I don't see where there is an error. Any ideas?
It means you're missing a semicolon in the reference to "warning," most likely line 55 or the line immediately preceding it.

Similar to what HateEternal said, it's damn near impossible to tell you what's wrong without seeing the code that produces the error.

The error message itself is pretty self-explanatory, though: when you reference "warning", you're missing a semicolon. It even tells you the exact position on that line that the error is being produced on: 146 columns (characters) from the beginning of the line.
 
ElDiabloConCaca said:
The error message itself is pretty self-explanatory, though: when you reference "warning", you're missing a semicolon. It even tells you the exact position on that line that the error is being produced on: 146 columns (characters) from the beginning of the line.

Compilers/validators can give error messages that don't quite match up with what caused the actual error. So it is possible there is another line above 55 that has an error but the validator isn't picking it up until line 55.

Happens all the time when you put a ; somewhere it shouldn't be or leave out a bracket or something.
 
Back
Top