fixed item within div code example
Example 1: fixed within the div css
#wrapper { width: 300px; background: orange; margin: 0 auto; position: relative; }
#feedback { position: fixed; right: 0; top: 120px; }
...
Feedback
Example 2: how to position fixed inside a div
//Do not forget the absolute position!
.parentDiv{
position: relative;
}
.insideParentDiv{
position: absolute;
}