How can I position my div at the bottom of its container?

前端 未结 24 2466
广开言路
广开言路 2020-11-22 00:46

Given the following HTML:



        
24条回答
  •  攒了一身酷
    2020-11-22 01:37

    Create another container div for the elements above #copyright. Just above copyright add a new div:

    It will force the footer to be under everything else, just like in the case of using relative positioning (bottom:0px;).

提交回复
热议问题