- From: Vassilii Khachaturov <vassilii@tarunz.org>
- Date: Sat, 10 Nov 2001 16:54:51 -0500
- To: <www-validator-css@w3.org>
If you go to http://jigsaw.w3.org/css-validator/validator?uri=http://www.tarunz.org/~vass ilii/Hobbit/z.html (this link won't stay forever; if it doesn't work, omit the trailing "z.html"), the CSS validator produces the following results: Errors URI : http://www.tarunz.org/~vassilii/Hobbit/Hobbit.css a.. Line: 2 Invalid number : font-weightlighter is not a font-weight value : lighter Valid CSS informations 1) First of all, there is a minor problem with the output here - no separation between the anchored "font-weight" and "lighter". 2) If, however, the link anchored to the property is followed towards http://www.w3.org/TR/REC-CSS2/fonts.html#propdef-font-weight one clearly reads there: The 'font-weight' property specifies the weight of the font. Values have the following meanings: 100 to 900 These values form an ordered sequence, where each number indicates a weight that is at least as dark as its predecessor. normal Same as '400'. bold Same as '700'. bolder Specifies the next weight that is assigned to a font that is darker than the inherited one. If there is no such weight, it simply results in the next darker numerical value (and the font remains unchanged), unless the inherited value was '900', in which case the resulting weight is also '900'. lighter Specifies the next weight that is assigned to a font that is lighter than the inherited one. If there is no such weight, it simply results in the next lighter numerical value (and the font remains unchanged), unless the inherited value was '100', in which case the resulting weight is also '100'. I.e., lighter *is* an acceptable value. Keep up the good work, Vassilii Khachaturov http://www.tarunz.org/~vassilii
Received on Saturday, 10 November 2001 16:54:56 UTC