CSS's Margin property

Source: Internet
Author: User

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/76/FD/wKioL1ZgMpWxJ4k9AANK2HXUYRA915.jpg "title=" 11583020at5308j52ul5bb.jpg "alt=" Wkiol1zgmpwxj4k9aank2hxuyra915.jpg "/>

A, if all four parameter values are provided, the upper, right, bottom, and left orders are used for four edges.

B. If only one is provided, it will be used for all four edges.

C, if provided two, the first for the upper, lower, the second for the left and right.

D, if three are provided, the first one is used on, the second one is for left, right, and the third for the next.

D, inline objects can use this property to set the left and right side of the outer patch; To set up an outer patch on the upper and lower sides, you must first make the object appear as a block-level or inline block-level.

F, the epitaxial margin is always transparent.


This article is from the "Urapidil" blog, please make sure to keep this source http://wjgdu.blog.51cto.com/10878328/1719356

CSS's Margin property

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.