Grammar:
margin:auto| length
Parameters:
Auto: value is set to the value of the relative edge
Length : A value or a ratio of white to a floating-point number and a unit identifier. Percentages are based on the height of the object. For inline objects, the left and right outer Yanbian distance can be negative.
Description: Retrieves and sets the epitaxial margins for the four edges of the object.
If you supply all four parameter values, the top-right-bottom-left order will function four edges.
If one is provided, it will be used for all four edges.
If two is provided, the first is used for the top-down and the second for left-right.
If three is provided, the first is used on, the second is used for left-right and the third for down.
Inline object to use this property, you must first set the object's height or weidth value, or set the position value to: absolute.
The difference between an inline object (inline element) and a block element:
feature of a block element: Starting from a new row and being able to contain other objects or inline objects, for example:
Inline objects: are presented without starting from a new row and can contain other inline objects and data.