CSS+DIV 浮动 空隙问题_html/css_WEB-ITnose

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

div浮动的时候会出现空隙问题,比如有三个DIV,前面两个分别浮动,这样第三个DIV 和第二个DIV之间就会出现3px的间隙,为了解决这个问题,这个问题是在IE中出现的。

所以可以加上_margin-right:-3px;就可以了。

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!