Please briefly describe margin duplicate the problem, and solutions

margin on two adjacent boxes will be an overlap in the vertical direction, whichever is greater that value instead of being added.

Solution:
  Parent margin is provided in place of padding
  parent set overflow: hidden
  current border of the transparent element
  using absolute positioning
  using the floating or the blocks disposed in a row
  to a 1-pixel padding
  Having said that, it does not so dry, direct plus a margin to write about how good value

Guess you like

Origin www.cnblogs.com/wuqilang/p/11367040.html