ここに私の問題へのフィドルリンクがあります: http://jsfiddle.net/YZrae/2/
左側に余分なスクロール バーが表示されていることに注意してください。この余分なスクロール バーを削除する必要がありますが、何が間違っているのかわかりません...
スクロールバーを保持し、表示されている残りを削除するには、左右の列が必要です。
フィドルで使用したコードは次のとおりです。
HTML:
<div class="top_wrap"></div>
<div class="content_wrap">
<div class="col_right_wrap"></div>
<div class="col_left_wrap"></div>
<div class="clear"></div>
</div>
CSS:
html,body {
padding:0;
margin:0;
height:100%;
min-height:100%;
}
.top_wrap{
background-color:red;
height:50px;
}
.content_wrap{
background-color:blue;
height:100%;
position:relative;
}
.col_right_wrap{
float:right;
height:100%;
background-color:green;
width:50%;
overflow-y: scroll;
}
.col_left_wrap{
float:left;
width:49%;
height:100%;
background-color:yellow;
overflow-y: scroll;
}
div.clear { clear: both; height: 1px; overflow: hidden; font-size:0pt; margin-top: -1px; }
助言がありますか?ありがとう!