Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the problem of incomplete display of IE text fonts in the middle and lower versions of HTML

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

The main content of this article is to explain "how to solve the incomplete display of IE text fonts in the low and middle versions of HTML". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn how to solve the problem of incomplete display of IE text fonts in the lower and middle versions of HTML.

HTML Code:

CSS5 instance. CSS5 {line-height:16px;font-size:22px} Test form endless form CSS5 instance calligraphy reveals that half of the CSS5 instance pen and ink cannot be complete.

It can be seen that the "class=" CSS5 "corresponds to the CSS configuration line height css line-height setting equipment 16px, while the font size css font-size setting equipment equipment is set to 22px, which shows that the font size is 22px greater than css line height 16px.

Preparation path: in this case, if the font size is not tampered with, you can set the value of line-height to be greater than or equal to 22px.

CSS5 instance. CSS5 {line-height:22px;font-size:22px} Test form shows endless mode CSS5 instance calligraphy shows half of CSS5 instance calligraphy cannot show incomplete

Here, the value of the code line-height sets the device to 22px (as long as the device line-height is greater than 22px), which is exactly different from the font size. How good it is to calculate that multiple lines of calligraphy overlap with each other while managing the emergence of incomplete fonts.

At this point, I believe you have a deeper understanding of "how to solve the problem of incomplete display of IE text fonts in low and medium versions of HTML". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Fonts examples furnishings size calligraphy text version form code content learning testing practical obvious deeper interest at the same time practicality reality difference Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Xiaomi Docker Apple Huawei