the difference won't become clear, unless introduced to
Lets get started with position fixed, fixed positions relative to first non-static parent. If there is no non-static parent, it positions relative to document.
see this bin, see how the
#inner div positions relative to document? Now see what happens when you changes
#outer's position to relative