Observe that the jQuery UI CSS does not pass validation.
I try to adhere to standards wherever I can find them. I'm looking at jQuery UI and wondering why a group of developers that makes a solid product doesn't seem to even acknowledge the W3C-imposed standards.
Is the W3C CSS Validator just too picky? Or should I pay better attention to these errors/warnings?
Is valid CSS important to adhere to? Why do you feel it's important?
You can validate both HTML and CSS files. You can use any commercial software package or free online application, such as the following World Wide Web Consortium (W3C) validators: W3C CSS Validator at http://jigsaw.w3.org/css-validator/
A CSS validator checks your Cascading Style Sheets to make sure that they comply with the CSS standards set by the W3 Consortium. There are a few validators which will also tell you which CSS features are supported by which browsers (since not all browsers are equal in their CSS implementation).
In perfect world, yes it would be important. In reality, to make CSS look aewsome in every single browser requires some... creativity. The result is that it may not be strictly valid, but works in (for example) IE and Safari both, even they can interpret the same rules very differently.
I think HTML validation is much more important, because its your content. Screen readers or other accessibility aids depend on standardized and well structured content. But CSS is just to make things look nice. And if it looks nice every you want it be, then I would call that perfectly "valid".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With