Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一种方法是overflow: hidden;添加.homeWrapper和.content_inner
overflow: hidden;
.homeWrapper
.content_inner
这为右侧菜单创建了一个新的块格式上下文,因为浮动元素被从正常流程中取出并需要清除或具有不可见的溢出值的容器与其他元素一起流动。
http://img13.imageshack.us/img13/7868/sitetow.jpg