New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
绝对底部 #33
Labels
Comments
我觉得这个例子举的不好。 |
你可能理解错了,你应该将 |
我有个方案,兼容性可以到ie6,我们线上项目都在用 <div class="body_box">
<div class="main">main</div>
</div>
<div class="footer">footer</div> .body_box {
position: relative;
min-height: 100%;
width: 100%;
overflow: hidden;
}
.footer {
position: relative;
margin-top: -31px;
width: 100%;
text-align: center;
height: 30px;
border-top: 1px solid #e5e5e5;
color: #666;
z-index: 10;
overflow: hidden;
} 可以点开这个链接地址看 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://l-hammer.github.io/You-need-to-know-css/#/sticky-footer
Description
The text was updated successfully, but these errors were encountered: