Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the problem that the line is propped up when using form under IE

Shulou Source: shulou.com Published: 2022-06-03 07:48:40 11月15日 Update

This article will explain in detail for you how to solve the problem of being propped up when using form under IE. The content of the article is of high quality, so the editor shares it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

When using form under IE, the default row height will be greater than the row height of its content. In layout, the following effects will appear that we do not want.

We expect that the following effects can be achieved in FF and chrome, but not in IE

Solution: add style to form to remove the inner margin and outer data of form

The code is as follows:

Tags: Question content effect location article method more knowledge article no good code layout text time label quality face project add Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Huawei Docker Apple Shulou Tech Info