This example shows how fixed positioning works.

This div has fixed positioning.

Scroll down this page using scrollbar available at right side: