html - Font coming out as Times New Roman in Older Browsers -
older browsers don't seem compute following css:
.text { font: normal 10px arial; }
when @ page in older browsers, text comes out times new roman.
what best way declare font family , size recognized widest possible audience?
now i'm not expert myself, font-family:
attribute can declare s many fonts want (ie font-family: arial, 'times new roman', sans-serif;
) browser can go through list 1 one see if can run it. if not it'll go the next item on list. far fonts run on majority of browsers not same, main reason why put several fonts backup. can import other font styles web site. google fonts , example, provides wide range of styles can use. google font's provide link
code import code. regarding older browsers don't know if feature works newer versions (since haven't had issue myself). 2 styles default no matter what, know of, sans-serif
, serif
. size text use font-size:
attribute. feature can use percentages (text 2x size of normal @ 200%) , can use value sizes (15px , 2em, etc) expands more on here
hope answers question.
Comments
Post a Comment