coderABC

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
<body>
    <div class='bottom'>
        这个div紧贴浏览器底部,且居中显示
    </div>
</body>

css代码:

.bottom{
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

  

posted on 2015-12-17 15:25  as798982083  阅读(1212)  评论(0编辑  收藏  举报