CSS 100% Height, and then Scroll DIV not page

前端 未结 6 941
一整个雨季
一整个雨季 2020-12-02 12:48

Okay so I haven\'t been able to find a question with an answer yet, so I decided to make my own.

I am trying to create a 100% fluid layout, which technically I have

6条回答
  •  萌比男神i
    2020-12-02 13:23

    overflow:auto; on the DIV style You should just know that the size of the div should increase so it can show scrolls in it. If you increase the page's size (which should be with style="overflow: hidden;" on the body) it won't work.

提交回复
热议问题