Because floated elements no longer take up any space in the flow of the document, they no longer appear to exert any influence on the surrounding block boxes. To get around this, you will need to clear the floats at various points throughout the layout. Rather than continuously floating and clearing elements, it is quite common to float nearly everything,and then clear once or twice at strategic points throughout the document, such as the page footer.
基于1个网页-相关网页
应用推荐