float属性影响后续元素排版问题

解决方案:

在后续块级元素中设置clear:both属性

#content {
      clear: both;
}
原文地址:https://www.cnblogs.com/congyiblog/p/14103390.html