In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly explains how to set margin and padding to 0 to remove the blank space between DIV and DIV. Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to set margin and padding to 0 to remove the blank space between DIV and DIV.
Left and right center code in div
Text-align:center; (horizontal) vertical-align:middle; (vertical)
Line-height:30px; (30px is the same height as the set div)
How to remove the whitespace between DIV and DIV
Status description:
1) how is there a blank line between and?
2) the problem of blank space between div pictures and pictures?
3) Why are margin:0; and padding:0; set up between div and div, but still blank under iE6?
4) how do I remove the gap between div?
5) is there a gap between two div?
Solution:
1) set margin and padding to 0
2) add overflow:hidden to the div style with height set
At this point, I believe you have a deeper understanding of "how to set margin and padding to 0 to remove the blank space between DIV and DIV". 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!
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.