Re: font courier is not a font-size value

Charles Sharp wrote:

> I get the following error, why?
>
> 471 .daynumA1 Value Error : font
> <http://www.w3.org/TR/REC-CSS2/fonts.html#propdef-font>  courier is
> not a font-size value : courier

You probably have font: courier on line 471 of your style sheet, and 
this is incorrect, since the first part of the value should specify the 
value for the "sub-property" font-size, and courier is not an acceptable 
value for font-size.

> .daynumA1 {
>
> position : absolute;
>
> top : 790px;
>
> left : 437px;
>
> width : 20px;
>
> color : black;
>
> font-size : 10pt;
>
> text-align : center;
>
> background : white;
>
> border : 1px solid black;
>
> }

The W3C CSS Validator does not give any error message or warning about 
that style sheet. This is probably from a different part of the style 
sheet than the part containing like 471, or from a different style 
sheet.

So what's your real style sheet? URL, please.

Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/ 

Received on Wednesday, 26 December 2007 08:55:35 UTC