+ 2

Scrolling <div>

I have a code which appends another div to the main div, however it overflows and dislocates outside the main div, what I want to do is to append the div to the main div without overflowing and just scrolling the main div to see every other divs. What code in CSS should I write?

15th Jan 2018, 11:40 AM
Complex
Complex - avatar
2 Answers
+ 3
overflow:scroll;
15th Jan 2018, 11:53 AM
visph
visph - avatar
+ 1
Thank you
15th Jan 2018, 11:54 AM
Complex
Complex - avatar