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
- [Answered ]-Selenium testing with django gives 'NoneType' object has no attribute 'path'
- [Answered ]-Annotate causes ProgrammingError: must appear in the GROUP BY clause or be used in an aggregate function
- [Answered ]-How to get latest value of a field on a related model in Django?
- [Answered ]-Formset initial choice field
Source:stackexchange.com