I don't know if you have noticed when making a web page that after inserting a form, there will often be a blank line above and below the form. This will make the layout of the web page look ugly, so today I will teach you how to solve the problem of blank lines appearing when inserting a form. In fact, the blank lines above and below the form are not real blank lines, but the form comes with a default margin value, but this value is not equal to 0, so we only need to use CSS to control the form's margin=0 to solve this problem. The CSS code is as follows: Copy code The code is as follows:form{margin: 0px;} |
<<: Implementation of Nginx Intranet Standalone Reverse Proxy
>>: A performance bug about MySQL partition tables
In order to enhance the ability to write JavaScri...
This article example shares the specific code of ...
Preface The writing of front-end code can never e...
1. Install the express library and generator Open...
Many people have encountered this error when star...
Recent product testing found a problem that when ...
inline-flex is the same as inline-block. It is a ...
Table of contents 1. Basic conditions for databas...
Table of contents 1. Introduction to basic concep...
This article shares the specific code of javascri...
1. Packetdrill compilation and installation Sourc...
1. First download from the official website of My...
Table of contents Pull a centos image Generate ng...
Table of contents 1. MySQL time type 2. Check the...
Table of contents What is Express middleware? Req...