Generation and removal of spacing between elements in rows

Source: Internet
Author: User

A lot of essays are planted in the pit, but who did not come here O (∩_∩) o~~

--------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------

In fact, before also vaguely remember this problem, but not enough memory, and did not study carefully, so forget, so that the planted.

Basically said on the net is "inline-block spacing", but this dish chicken seek rigorous, more apt to say, should be inline and inline-block.

Even if I have cleared the inner margin with wildcards, there will still be margins on the default, as above.

This is caused by a carriage return line break between spans

Solution:

1.

2.

3.

What they have in common is, don't change lines normally (laughter ~)

Carriage return newline character does not appear between two labels, but appears inside the tag.

here are just three ways to be compatible and simple and harmless. More ways to point here

Brain memory is limited, the preferred mastery.

Of course, the more you master, the better.

Generation and removal of spacing between elements in rows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.