I have a DIV with some content which needs to be in Read-only mode, so i have overlapped it with another DIV and set cursor:no-drop.
This works well and make my content read-only, But it also doesn't let the user scroll over the content DIV.
How can i keep my content DIV scroll-able.
.roDiv {
position: absolute;
height: 100%;
width: 100%;
cursor: no-drop;
z-index: 1000;
}
<div class="roDiv"></div>
<div id="content" style="overflow-y:scroll; height:90px;">Content goes here, <br/>
Content goes here, <br/>
Content goes here, <br/>
Content goes here, <br/>
Content goes here, <br/>
Content goes here, <br/>
Content goes here, <br/>
Content goes here, <br/>
Content goes here, <br/>
Content goes here, <br/>and this division should be scrollable<br/> as the content can be longer</div>