How can I make DIV 100% height of browser without vertical scrolling of header

前端 未结 6 2240
遇见更好的自我
遇见更好的自我 2021-01-05 08:32

Both the left and right panels have a height of 100%, but since the Header div takes up X amount of space, there is some vertical scrolling in the window th

6条回答
  •  逝去的感伤
    2021-01-05 08:44

    You could use overflow: hidden; to protect the body to be scrollable.

    according to your comment: http://jsfiddle.net/G7unG/9/

提交回复
热议问题