这样的效果是,一个被清理的盒无法与前置浮动保持在同一个水平位置上。
So in effect, such a cleared box cannot be at the same horizontal level as a preceding float.
浮动“从流程中被移除出来”,但是与绝对位置的元素(层次)不同,浮动是在他们前面的最后一个块元素之后直接被显示出来(就像块盒一样)。
Floats are "removed from the flow," but unlike absolutely positioned elements (layers), floats do get displayed directly after the last block element that precedes them (just like block boxes do).
浮动“从流程中被移除出来”,但是与绝对位置的元素(层次)不同,浮动是在他们前面的最后一个块元素之后直接被显示出来(就像块盒一样)。
Floats are "removed from the flow," but unlike absolutely positioned elements (layers), floats do get displayed directly after the last block element that precedes them (just like block boxes do).
应用推荐