[css-d] Font shorthand errors

2012-07-29 Thread Mike Manley
The W3C CSS Validation Service gives me these errors. After reading the 
CSS3 standards for the font short hand I can not understand why I am 
getting the errors.


45 #content Value Error : font / is not a font-family value : 
1em / 1.5em Rockwell,Helvetica,Sans-serif
99 .sub Value Error : font / is not a font-family value : 16px / 
1.6em Rockwell,Helvetica,Sans-serif
130 .sub a span Value Error : font / is not a font-family value 
: 16px / 1.6em Rockwell,Helvetica,Sans-serif
175 p.credits Value Error : font / is not a font-family value : 
bold 0.8em / 1em Rockwell,Helvetica,Sans-serif
188 p.time Value Error : font / is not a font-family value : 1em 
/ 1.5em Rockwell,Helvetica,Sans-serif


The main CSS file can be found here.
http://www.thetangos.com/styles/main.css

Could someone explain this to me TIA
Mike
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Font shorthand errors

2012-07-29 Thread Jukka K. Korpela

2012-07-29 17:34, Mike Manley wrote:


The W3C CSS Validation Service gives me these errors. After reading the
CSS3 standards for the font short hand I can not understand why I am
getting the errors.

>
> 45 #content Value Error : font / is not a font-family value :
> 1em / 1.5em Rockwell,Helvetica,Sans-serif

This is a known bug in the W3C CSS Validator, probably first reported in 
May:

http://lists.w3.org/Archives/Public/www-validator-css/2012May/0003.html

It seems to take time to have the bug fixed. Meanwhile, you can 
circumvent it by declaring various font properties in separate 
declarations. The bug is specifically related to shorthand notations.


Yucca


__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/