CSS 谈谈浮动与清除浮动(overflow)
float脱离文本流,可是为什么文字却会有环绕的效果,这点实在是神奇,于是乎就去问了师匠:
Normal flow is the way that elements are displayed in a web page in most circumstances. All elements in HTML are inside boxes which are either inline boxes or block boxes.
float其实是脱离了常规流,当然这么说肯定是听不懂的啦,我们来看一个示例:http://test.codesky.me/text-round.html