Home > Web Front-end > HTML Tutorial > The problem of doubling the margin when setting up IE6

The problem of doubling the margin when setting up IE6

WBOY
Release: 2016-10-17 09:11:24
Original
1050 people have browsed it

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.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template