CSS 100 percent height body and element

前端 未结 7 576
野性不改
野性不改 2021-01-02 06:41

I am having an issue making one of my elements 100% within an overall layout that is 100%.

I have tried different positioning solutions and I either end up with hidd

7条回答
  •  南方客
    南方客 (楼主)
    2021-01-02 07:20

    Without being able to look at the code until a little later, I'd suggust putting the class "clearfix" onto the div that isn't fully expandning with the white.

    Here is where you can get a good definition of what clearfix is, and a definition for the css.

提交回复
热议问题