DEV Community

George Ilias
George Ilias

Posted on

Fonts across browsers

So many times I have come across with an issue. The problem is that when am writing css and specify the font that I want to use on my site it displays different in Firefox. Im having the issue only with Firefox because all the other browsers are chrome-based. Is there any way to fix this? Thank you in advance.

Top comments (2)

antogarand profile image
Antony Garand

What font it is?

If it’s externally loaded, such as google fonts, it should work cross browser without issues.

If it’s a font family or generic font name, it might be bundled with chrome and not with firefox.

To fix this, you should try loading the font externally, or only provide a font family which is compatible on all browsers and os.

giorgosilias profile image
George Ilias

Ok got it so it's best to load it externally. I thought that font was something simple and never thought that may have compatibility issues. Thank you for helping me!