http://featuredfotografer.com/
.Codemirror div 与#header div 组合占用的高度超过了浏览器的高度。我怎样才能使它们的组合高度达到浏览器窗口的 100%,这样我就没有滚动条了?
最佳答案
making combined height equal to the height of the browser window
只需添加这段代码。它会将您的内容设置为浏览器窗口的 100%
。
body,html {
height: 100%;
}
你也可以查看this .
关于html - 使组合高度等于浏览器窗口的高度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11209692/