DIV 清除样式浮动万能代码 .talk { 100%; margin: 10px 0; } .talk:after { visibility: hidden; clear: both; display: block; height: 0px; content: "."; }