The section on position: absolute is not quite accurate - the element is not necessarily positioned relative to its parent container.
An absolutely positioned element is positioned relative to the nearest ancestor (not necessarily direct parent) that has a position other than static. Sometimes it can get a little tricky.
To make an absolutely positioned element relative to its containing element, you can just set position: relative on the parent.