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

CSS DIV floating gap problem_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:32:211122browse

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.

Statement:
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