Sticky Footer CSS Problems

前端 未结 2 1216
礼貌的吻别
礼貌的吻别 2021-01-26 02:24

I have been able to design my layout so that it has 2 columns and a width of 100%, you can see that here.

Now I\'m trying to implement a sticky footer (100%) height with

相关标签:
2条回答
  • 2021-01-26 03:05

    Take a look at Sticky Footer 2009. This has been discussed multiple times on SO as well.

    0 讨论(0)
  • 2021-01-26 03:11

    I would add a CSS class to the DIV containing the columns and style that. To get close, I had to add the following to your CSS file:

    body
    {
     height: 100%;
    }
    
    .footer
    {
     position: absolute;
     top: 90%;
     left: 0;
     height: 10%;
    }
    
    0 讨论(0)
提交回复
热议问题