Home >Web Front-end >HTML Tutorial >The problem of doubling the margin when setting up IE6
Avoid using float and margin at the same time for child elements.
For example:
When you need the margin-bottom:20px of the child element, you can set padding-bottom:20px on the parent element instead.