CSS Code for eras light itc

后端 未结 1 1074
时光说笑
时光说笑 2021-01-23 16:07

can anyone give the css coding for \"eras light ITC\" font. I am unable to get it. The coding is

.para-quote {
    padding-right: 30px;
    font-family: sans-se         


        
1条回答
  •  失恋的感觉
    2021-01-23 16:16

    The answer lies in the way different browsers interpret fonts for example

    Firefox allows the use of "Eras ITC",

    Chrome wants you to pick one of the variations of Eras, as in "medium", "bold", etc. but won't let your just use "Eras ITC".

    IE9 doesn't care and will render all fonts installed on your windows system (you can check just by typing "fonts" in your start menu and picking installed fonts.)

    Opera seems to work similar to IE9 as far as using system fonts

    here is the answer that works:

    {font-family: "Eras ITC", "Eras Light ITC",  sans-serif ;}
    

    This will work in all browsers, at least on windows systems... sans-serif is just kind of a fall back for any failure with the first two fonts.

    0 讨论(0)
提交回复
热议问题