Resolve IE9 Support CSS Chinese font experience
How to make CSS using Chinese fonts is still compatible in IE9 browser display. (Music relaxation Chair)
One, CSS Chinese font IE9 compatibility problems
After using the Chinese font in the CSS, the line-height style fails in the IE9 browser vertically and horizontally.
Second, solve IE9 compatible Chinese font
Convert the Chinese text in the CSS to Unicode encoding and replace it. The final set font effect will not be affected by the conversion encoding and is also compatible with the Line-height vertical center style, while the IE9 is compatible with common Chinese fonts in CSS. (Music relaxation Chair)
Common font Conversions:
Blackbody: \9ed1\4f53
Song Body: \5b8b\4f53
Microsoft Ya-Black: \5fae\8f6f\96c5\9ed1
Imitation: \4eff\5b8b
More detailed Unicode Encoding conversion table: Http://www.divcss5.com/jiqiao/j325.shtml (music relaxation chair)
You can remember the conversion table, this table collects the commonly used Chinese font conversion query, usually the development of CSS only need to compare the search after the copy can be used.
Extended reading: CSS font style: http://www.divcss5.com/rumen/r295.shtml
Instance:
. divcss5{font-family: "Blackbody";}
You can convert "blackbody" to "\9ed1\4f53" to get:
. divcss5{font-family: "\9ed1\4f53";} (Music relaxation Chair)