keeping an element fixed inside a div code example
Example: how to position fixed inside a div
//Do not forget the absolute position!
.parentDiv{
position: relative;
}
.insideParentDiv{
position: absolute;
}
//Do not forget the absolute position!
.parentDiv{
position: relative;
}
.insideParentDiv{
position: absolute;
}