position fixed inside other 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;
}