Fixed Positioning Example
How can you use it?Fixed Positioning
Most of the time you will use the default positioning for your web layout. When you need an element to always stay visible on the page, no matter where you scroll, you will use fixed positioning. For instance a website with a header and navigation that always stays visible when you are scrolling is a good example of fixed positioning. Another examples of fixed positioning would be advertisements that pop up on your screen. Some of these will always stay visible even if you start scrolling the page. Be careful with these, they are fairly annoying.
Fixed positioning should be used sparingly, and close attention should be paid to how much screen real-estate is being taken up by this element that will never scroll off the page.