min-height:100% doesn't work on my container?

后端 未结 2 412
执念已碎
执念已碎 2021-01-24 21:58

Dear fellow readers on Stack Overflow, I am currently working in CSS and I ran into trouble with giving my container a minimal height of 100% to get my footer at the bottom of t

2条回答
  •  隐瞒了意图╮
    2021-01-24 22:29

    you need to set your parent to a fixed height.

    See this article: http://www.search-this.com/2007/02/05/css-min-height-explained/

提交回复
热议问题