Browsers are changing my font styles..

Explorer ,
Oct 06, 2020 Oct 06, 2020

Copy link to clipboard

Copied

Hello,

 

How do we prevent browsers from changing our css font styles..

 

Thank you so much for your support..

TOPICS
Browser , Code , How to , Performance

Views

110

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Oct 06, 2020 Oct 06, 2020
If you're just putting font names found on your machine into the CSS of a page, they'll work locally, but fail when uploaded and viewed by devices that don't have those fonts installed. You need to use fonts that are installed in most devices, called "web safe fonts" (very limited) or use CSS fonts that use a link to hosted font files either on your server or a third party server like Google.com/fonts (many, many more options) https://www.w3schools.com/cssref/css_websafe_fonts.asp  https://www.w3schools.com/css/css_font_google.asp...

Likes

Translate

Translate
Adobe Community Professional ,
Oct 06, 2020 Oct 06, 2020

Copy link to clipboard

Copied

If you're just putting font names found on your machine into the CSS of a page, they'll work locally, but fail when uploaded and viewed by devices that don't have those fonts installed.

 

You need to use fonts that are installed in most devices, called "web safe fonts" (very limited) or use CSS fonts that use a link to hosted font files either on your server or a third party server like Google.com/fonts (many, many more options)

 

https://www.w3schools.com/cssref/css_websafe_fonts.asp 
https://www.w3schools.com/css/css_font_google.asp


Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 06, 2020 Oct 06, 2020

Copy link to clipboard

Copied

LATEST

Thank you for your time and helpful support.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines