CSS white space at bottom of page despite having both min-height and height tag

后端 未结 10 1931
花落未央
花落未央 2020-12-23 20:35

I am unable to get the white space at the bottom of this page to disappear. I have both min-height and height tags in body. Any suggestions? Thanks!

http://womanc

10条回答
  •  我在风中等你
    2020-12-23 20:52

    Try setting the height of the html element to 100% as well.

    html {
        min-height: 100%;
        overflow-y: scroll;
    }    
    body {
         min-height: 100%;
    }
    

    Reference from this answer..

提交回复
热议问题