Home > Web Front-end > HTML Tutorial > CSS DIV floating gap problem_html/css_WEB-ITnose

CSS DIV floating gap problem_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:32:21
Original
1139 people have browsed it

There will be a gap problem when the div is floating. For example, if there are three DIVs, and the first two are floating separately, there will be a 3px gap between the third DIV and the second DIV. In order to solve this problem, This problem occurs in IE.

So you can add _margin-right:-3px; and that’s it.

Related labels:
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