任何人都可以解釋我如何下面的小提琴是overflowing the viewport
。溢出視口
.row > .sidebar-fixed{
position: absolute;
top: 60px;
width: 220px;
height: 100%;
overflow-y:scroll;
}
.row > .sidebar-fixed.left{
left:0;
}
.row > .sidebar-fixed.right{
right:0;
}
.fixed-fixed {
margin: 0 240px;
}
http://www.bootply.com/X0Bie7aRN0
指定或硬編碼一些top value
時,將height not be 100%
和bottom be 0
.row > .sidebar-fixed{
position: absolute;
top: 60px;
width: 220px;
height: 100%; // should replaced by bottom: 0;
overflow-y:scroll;
}
優秀的例子...當我刪除高度:100%,並將其替換爲底部:0 ...我沒有看到右側的滾動條了。 http://www.bootply.com/tzJNs9jXU1由於高度而來的整體滾動條。 – Shane