Get the App
SLTechnology News&Howtos  ›  Development  › 

How to determine the upper and lower spacing of p in class=abc object is 0 in CSS

Shulou Source: shulou.com Published: 2022-06-01 09:35:13 11月09日 Update

This article mainly introduces the relevant knowledge of "how to determine the upper and lower p spacing within the class=abc object in CSS". The editor shows you the process of operation through an actual case. The method of operation is simple and fast, and it is practical. I hope that this article "how to determine the upper and lower p spacing within the class=abc object in CSS" can help you solve the problem.

Of course, sometimes the agency only needs a section of calligraphy, div can also adopt the p tag, if the p tag is used, but it is not important that p has its own high and low spacing, at this time we need to make sure that p has its own high and low spacing and set CSS:

.abc p {margin-top:0;margin-bottom:0}

How to determine that the distance between the height and the bottom of the class=abc object is 0. 0.

Css cancels the bump spacing of p label

CSS5 initiative: ordinary structural framework agencies use div construction, article paragraphs are organized with p tags. In this way, we adhere to the application tag in accordance with the tag, so as not to abuse the tag specification to use html tag elements as far as possible.

This is the end of the content about "how to determine the p-up and down spacing 0 in the class=abc object in CSS". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

Tags: Tags spacing objects up and down knowledge importance articles organs industries high and low exploitable different practical ordinary elements content bump just need place practicality Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Microsoft MySQL NVidia Shulou Technology