Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

@font-face does not proper work in Firefox?

  • 5 svar
  • 5 har detta problem
  • 1 visning
  • Senaste svar av cor-el

more options

I have this stylesheet emended in my project. web font kit generated from Font Squirrel... its working only these document when put my root folder, if i put on sub folder they not working..

@font-face {

   font-family: 'DINBold';
   src: url('../fonts/din-bold/ff_din_bold-webfont.eot');
   src: url('../fonts/din-bold/ff_din_bold-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/din-bold/ff_din_bold-webfont.woff') format('woff'),
        url('../fonts/din-bold/ff_din_bold-webfont.ttf') format('truetype'),
        url('../fonts/din-bold/ff_din_bold-webfont.svg#DINBold') format('svg');
   font-weight: normal;
   font-style: normal;

}


Please suggest me !!!

I have this stylesheet emended in my project. web font kit generated from Font Squirrel... its working only these document when put my root folder, if i put on sub folder they not working.. ''@font-face { font-family: 'DINBold'; src: url('../fonts/din-bold/ff_din_bold-webfont.eot'); src: url('../fonts/din-bold/ff_din_bold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/din-bold/ff_din_bold-webfont.woff') format('woff'), url('../fonts/din-bold/ff_din_bold-webfont.ttf') format('truetype'), url('../fonts/din-bold/ff_din_bold-webfont.svg#DINBold') format('svg'); font-weight: normal; font-style: normal; }'' Please suggest me !!!

Alla svar (5)

more options

Does Firefox's error console (Ctrl+Shift+j) list any complaints related to those fonts? To minimize the noise, try using the Clear button on the console, then reload the page bypassing the cache (Ctrl+Shift+r).

more options
more options

@jscher2000 and @cor-el,

Thanks for quick response,

But i have same issue yet.. :(

I've attached one snapshot so please @jscher2000 have a look this.

Thanks!

more options

So the ../fonts navigation causes an error but /fonts (assuming you duplicate the folder there) does not?

more options

Are the CSS file(s) and the HTML file on the same server?