DEV Community

George Ilias
George Ilias

Posted on

1

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)

Collapse
 
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.

Collapse
 
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!

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay