In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to set line-height in the browser css. It is very detailed and has certain reference value. Friends who are interested must finish reading it.
First, the reasons for the entry into force of the line:
Check whether the font font-family attribute value set in your CSS can be used in Chinese calligraphy. 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 Chinese calligraphy directly.
Second, the effective improvement of line-height:
Convert fonts to Chinese characters and convert them into English words encoded by Unicode or using fonts.
Plan to effectively convert Chinese to 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 calligraphy conversion tables in CSS: / / www.css5.com.cn/jiqiao/325.shtml
Then the CSS font configuration is converted to use:
Body {font-family: "Microsoft Yahi"}
After conversion
Body {font-family: "Microsoft YaHei"}
Or
Body {font-family: "\ 5FAE\ 8F6F\ 96C5\ 9ED1"}
Finally, after converting the Chinese font into Chinese, the line-height line height will no longer work normally.
The above is all the contents of the article "how to set line-height in browser css". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.