在这里,您将要为页面页脚留下大量的空间,以确保您的绘制不太接近底部边距(请参考清单7)。
Here, you're leaving a generous amount of space for the page footer to ensure that you're not drawing too close to the bottom margin (see Listing 7).
因此,如果我们希望四边的内边距看起来是基本一致的,就需要减少顶部和底部的内边距。
Therefore, we need to specify less padding for the top and bottom sides if we want it to be perceived as being the same.
这是将被清除盒的顶部边距扩展,将其向下推直到清理浮动的底部。
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.
应用推荐