Keep div at the bottom of another div - css

前端 未结 5 1142
借酒劲吻你
借酒劲吻你 2020-12-24 06:56
© 1965 - 2010

I want the #copyright to be at the bottom of #outer

Here is the css for #copyright

5条回答
  •  庸人自扰
    2020-12-24 07:24

    I would do that this way:

    #copyright {
    position: absolute;
    bottom: 0;
    }
    #outer {
    position: relative;
    height: 200px;
    }
    
    

提交回复
热议问题