I can't scroll vertical in the div when I set overflow:hidden to it. I don't understand why.
HTML:
<div class="s">
<p>lorem ispum<br/></p>
<p>lorem ispum<br/></p>
<p>lorem ispum<br/></p>
<p>lorem ispum<br/></p>
<p>lorem ispum<br/></p>
<p>lorem ispum<br/></p>
<p>lorem ispum<br/></p>
<p>lorem ispum<br/></p>
</div>
CSS:
.s{
overflow:hidden;
height:200px;
border:1px solid red;
}
body{
height:100%;
}
I make a test JsFiddle to show the error.
Update:
I need to hide the scrollbar, but i can't scroll if it's hidden.