How to apply scroll bar for multiple divs in main div

Last Reply 9 days ago By dharmendr

Posted 10 days ago

I want to apply the scroll bar for child divs without scrolling the header

I had tried

overflow-y:auto and overflow-y:scroll

but none of them are working

below is my code

 

<div style="padding:20px; max-height:500px;overflow-y:auto" id="divMain">
<div id="childdiv1">
</div>
<div id="childdiv2">
</div>
<div id="childdiv3">
</div>
<div id="childdiv4">
</div>
</div>

 

You are viewing reply posted by: dharmendr 9 days ago.