Outlook HTML e-mail in English-text font settings

Outlook HTML e-mail in English-text font settings

If it is pure English or pure Chinese can specify a font, if it is mixed up in English, Chinese and English want to use different fonts, how?

css font-family can put in multiple font names as a "fallback" to save the system. If your browser does not support the first font, it tries the next one. That is, the value of the font-family property is a priority table for the font family name of an element or / and the name of the family class. The browser uses the first value it recognizes.

In the Chrome browser Inspection-> Elements -> (Style) Computed function Rendered Fonts can be seen in what is, in fact, local font.

In the English-text, we can first font specified in the font-family in pure English font, font specified as the second Chinese character, Chinese and English display can be achieved with different fonts.

The above method can be achieved in the web page, but the mail client which does not support (outlook 2010) so it is necessary to use private property office. mso-ascii-font-familyThe corresponding English font, mso-bidi-font-familytext equivalents either order from left to right and right-to-left languages such as Arabic in the Middle East.

<!-- ms outlook font fallback  -->
<!--[if mso]>
<style>
    .section {
        font-family: '华文楷体';
        mso-ascii-font-family: 'Calibri'
    }
    .block {
        font-family: '华文楷体';
        mso-ascii-font-family: 'Calibri'
    }
    .report p {
        font-family: '华文楷体';
        mso-ascii-font-family: 'Calibri'
    }
    .report .focus {
        font-family: '华文楷体';
        mso-ascii-font-family: 'Calibri'
    }
    .report .author {
        font-family: '华文楷体';
        mso-ascii-font-family: 'Calibri'
    }
    .report .url {
        font-family: '华文楷体';
        mso-ascii-font-family: 'Calibri'
    }
</style>
<![endif]-->

Other methods

http://www.duanzhihe.com/1256...

Using the @ font-face

Guess you like

Origin www.cnblogs.com/homehtml/p/12191951.html