View Single Post
Old 05-15-2013, 08:44 AM   #1
Moonraker
Addict
Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.
 
Moonraker's Avatar
 
Posts: 314
Karma: 1002965
Join Date: Mar 2006
Location: UK
Device: ILiad. Gen 3, PocketBook 360, Kobo Aura HD, Kindle Oasis 2
Embedded font problem

Why does my WC3 validation for stylesheet give me the following errors?:

5 Property src doesn't exist : url('../Fonts/alkaios-regular.ttf')
13 .alkaios Property src doesn't exist : url('../Fonts/alkaios-regular.ttf')

but the font displays correctly in Desktop Adobe Digital Editions.

I want to use this font for some Romanian characters.

The code in my css sheet is:

@font-face {
font-family: "alkaios";
font-weight: normal;
font-style: normal;
src: url('../Fonts/alkaios-regular.ttf');
}

.alkaios {
font-family: "alkaios";
font-weight: normal;
font-style: normal;
src: url('../Fonts/alkaios-regular.ttf');
}

The @fontface declaration is the first in the CSS stylesheet.

I have been hours trying to figure this out.
Moonraker is offline   Reply With Quote