【发布时间】:2012-04-28 06:18:28
【问题描述】:
我正在使用 twitter bootstrap 并在自定义 css 中说
html, body {
height:100%;
width: 100%;
}
添加后,它始终显示垂直滚动条。有没有办法解决这个问题?
【问题讨论】:
-
您确定 html 和 body 的边距、内边距和边框设置为 0 吗?
-
不得不使用 $(windows).height() 修复它,似乎没有其他方法在工作 github.com/twitter/bootstrap/issues/1671
标签: css twitter-bootstrap