Get the App
SLTechnology News&Howtos  ›  Development  › 

What about the failure of line-height in css

Shulou Source: shulou.com Published: 2022-06-01 04:04:25 10月02日 Update

Editor to share with you what to do about the failure of line-height in css. I hope you will get something after reading this article. Let's discuss it together.

I. notice on the question of the title of line height failure:

Check whether the font font-family trick attribute value in your CSS uses Chinese characters. Such as: font-family: "Song style", font-family: "Microsoft Yahei", font-family: "boldface" and so on.

The problem with the title is that your CSS font formatting equipment uses medium ink directly.

2. Line-height failure plan:

The conversion of the font to Chinese pen and ink can be converted into English words encoded by Unicode or using the font.

Attempt to convert Chinese into English or Unicode introduction:

1. Song style

English: SimSun

Unicode code:\ 5B8B\ 4F53

2. Blackbody

English: SimHei

Unicode code:\ 9ED1\ 4F53

3. Microsoft Yahei

English: Microsoft YaHei

Unicode code:\ 5FAE\ 8F6F\ 96C5\ 9ED1

More CSS Chinese font conversion tables: / / www.css5.com.cn/jiqiao/325.shtml

Then the CSS font setting equipment will be used after conversion:

Body {font-family: "Microsoft Yahi"} after reading this article, I believe you have a certain understanding of "what to do about line-height failure in css". If you want to know more about it, welcome to follow the industry information channel, thank you for reading!

Tags: Font English coding Microsoft what to do Song style decoration more title pen and ink article question boldface Chinese font word notice finished attribute text Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Shulou Technology Apple MariaDB NVidia