小编dgP*_*son的帖子

Div Box中的Div框

我已将页脚添加到EasyCareBath.com,我可以让div正常工作,除了".footer_box",它不会居中.我添加了"left:15%",当你把窗户向上吹时,它就不再对齐了.我错过了什么或者我对css做了太多的事吗?

.footer_spacer {
    height: 50px;   
}
.footer_wrapper {
    height: 375px;
    background-color: #e6dccb;
}
.footer {
    border-top: 10px solid #789E65;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
    margin-top: 0px;
    /*min-width: 1007px;*/
    height: 235px;
    background-attachment: scroll;
    background-image: url(../images_footer/footer_bg.png);
    background-repeat: repeat-x;
    background-position: center top;
    position: relative;
}
.footer_box {
    height: 236px;
    width: 1007px;
    /*position: relative;*/
}
.footer_copyright {
    width: 100%;
    /* [disabled]height: 100px; */
    /*float: left;*/
    padding-top: 15px;
    position: relative;
    text-align: center;
    word-spacing: normal;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px; …
Run Code Online (Sandbox Code Playgroud)

html css center alignment

0
推荐指数
1
解决办法
181
查看次数

标签 统计

alignment ×1

center ×1

css ×1

html ×1