Home > Article > Web Front-end > CSS DIV floating gap problem_html/css_WEB-ITnose
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.