1) Value Error : font-family Property font-family doesn't exist in
CSS level 2.1 but exists in : "BallantinesSerial"
2) Property src doesn't exist : url
3) Parse Error (fonts/BallantinesSerial.eot);
4) Parse Error [: url (fonts/BallantinesSerial.ttf); } .ballantine]
http://www.ian-stewart.eu/a_font_test.php
Any help appreciated.
Note: CSS level 2.1
> 2) Property src doesn't exist : url
> 3) Parse Error (fonts/BallantinesSerial.eot);
> 4) Parse Error [: url (fonts/BallantinesSerial.ttf); } .ballantine]
>
> http://www.ian-stewart.eu/a_font_test.php
>
> Any help appreciated.
Now see <http://www.w3.org/TR/CSS21/changes.html#q104>:
Font descriptors, the '@font-face' declaration, and all associated parts
of the font matching algorithm have been removed in CSS 2.1.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
>Josiah Jenkins schrieb:
>> I have a (test) page which displays correctly in IE, FF and Opera.
>> The HTML validates but the corresponding 'fonts.css' file
>> shows 20 errors. (Actually the same four repeated 5 times)
>>
>> 1) Value Error : font-family Property font-family doesn't exist in
>> CSS level 2.1 but exists in : "BallantinesSerial"
>
>Note: CSS level 2.1
When I change the profile to Level 3, I have 15 errors.
ie the 3 below x 5.
>
>> 2) Property src doesn't exist : url
>> 3) Parse Error (fonts/BallantinesSerial.eot);
>> 4) Parse Error [: url (fonts/BallantinesSerial.ttf); } .ballantine]
>>
>> http://www.ian-stewart.eu/a_font_test.php
>>
>> Any help appreciated.
>
>Now see <http://www.w3.org/TR/CSS21/changes.html#q104>:
>
>Font descriptors, the '@font-face' declaration, and all associated parts
>of the font matching algorithm have been removed in CSS 2.1.
Thanks. At least that saves me some further head scratching.
Take out the space after each "url".
Thank you. It now validates as CSS level 3
I don't know whether I'll ever actually use the function,
I was just curious to see if I could understand it . . .
--
http://www.ian-stewart.eu