I was just validating the css (moodleorgange theme) of moodle.org from the following link
http://jigsaw.w3.org/css-validator/validator?uri=http://moodle.org/index.php
To my surprise, it produced about 40 errors and 327 warnings. When I checked standard theme in my site, it showed two errors and 327 warnings.
Is it normal?
venkatesan
Is it normal?
Well, those validators tend to get quite paranoid. Personally, I carefully keep away from them. If it works, then it's OK, why bother?
Joseph
Well, those validators tend to get quite paranoid. Personally, I carefully keep away from them. If it works, then it's OK, why bother?
Joseph
venkatesan iyengar, these validators are very helpful to find errors in our CSS. But you need to know how to read their reports.
They complain about browser specific CSS properties like the Firefox -moz... properties. And they warn when you not set color AND background color.
These two errors and warnings are known and you may ignore them.
Infos like 7367 .gradestable th.user, .gradestable th.range Property whitespace doesn't exist : nowrap
URI : http://moodle.org/theme/moodleorange/geshi.css 273 .gml .kw4 Value Error : color brown is not a color value : brown
are really helpful because they identify CSS bugs.
I check my CSS every once in a while to find those possible mistakes.
Thanks. I was not quite bothered about the errors but it was just an accident I got this and I wanted to know about this before I try to develop my own theme