Home | Samples

Moveable fixed elements

The position of the menu and the buttons depends on the size of the window.

They move to stay just to the right of the content and at the top and bottom of the window.

When the window is scrolled, they stay put.

This has been tested with Mozilla/Firefox and Opera 8.51.

Internet Explorer fails because it can't do fixed positioning.

Used in my business and personal pages.

Old version using absolute position for #navigation here.

Source code follows (see source alone):