Skip to: content, navigation

by Tommy Olsson and Paul O’Brien

Fixed Positioning

Fixed positioning is a subcategory of absolute positioning. An element whose position property is set to fixed always has the viewport as its containing block. For continuous media, such as a computer screen, a fixed element won’t move when the document is scrolled. For paged media, a fixed element will be repeated on every page.

Internet Explorer Compatibility

Fixed positioning isn’t supported by Internet Explorer 6 or prior versions.

User-contributed notes

Add a note

To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.

Related Products

The Principles of Beautiful Web Design

Best Seller!

You don’t need to go to Art School to design great looking web sites!

Book Cover: The Principles of Beautiful Web Design

Download the FREE sample chapters