javascript - Body does not scroll on overflow -


when add div height bigger page size, body not scroll though have added overflow:scroll. tried on overflow:auto;

jsfiddle here.

add height 100%

#first {   position: fixed;   left: 0;   right: 0;   z-index: 0;   margin-left: 20px;   margin-right: 20px;   overflow: auto;   height:100%;/* add this*/ } 

https://fiddle.jshell.net/se65eqm8/3/


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -