Influence of absolute positioning on the margin of margin, and effect of positioning on margin
Influence of absolute positioning on the margin of margin:
We will not discuss about absolute positioning and margin. For details, refer to the following two articles.
(1) For absolute positioning, see absolute positioning in CSS.
(2). For more information about the margin, see the margin section of CSS.
The following describes the influence of absolute positioning on the margin of margin through code examples.
The code example is as follows:
<! DOCTYPE html>
The code above shows that the reference object of the margin of the element's margin is changed from the original parent element to the absolute Positioning Reference element.
The original address is: http://www.softwhy.com/forum.php? Mod = viewthread & tid = 18132.
For more information, see: http://www.softwhy.com/divcss/