在Drupal 5.0中没有实现无需使用额外XHTML标记的清理浮动的方法。
The method of clearing floats without the use of additional XHTML markup is not implemented in Drupal 5.0.
这样的效果是,一个被清理的盒没法与前置浮动保持在同一个级别位置上。
So in effect, such a cleared box cannot be at the same horizontal level as a PageRankeceding float.
这是将被清除盒的顶部边距扩展,将其向下推直到清理浮动的底部。
What this does is extend the margin on the top of the cleared box, pushing it down until it "clears" the bottom of the float.
应用推荐