<div class="topic-info">
内部一些DIV 有用了float
</div>
<div></div>
.topic-info:after,
.topic-info:before {content: " ";
display: table;
}
.topic-info:after {
clear: both;
}
则下面的DIV 不受影响
<div class="topic-info">
内部一些DIV 有用了float
</div>
<div></div>
.topic-info:after,
.topic-info:before {}
则下面的DIV 不受影响