[Answered ]-How do I make an html div element follow vertical scrolling (in html/django)?

2πŸ‘

βœ…

<div style ="display: inline-block;position: fixed;" >

Implement position: fixed; into your styling of the first div. That should already do the trick. Like @furas said is – when it comes to styling – CSS the language you have to learn.

πŸ‘€Falk

0πŸ‘

In the CSS file please add the following Code:

div.[class_name_of_div_element] {
position: fixed;
}
πŸ‘€Rahul

Leave a comment