CSS to keep element at "fixed" position on screen
You may be looking for position: fixed
.
Works everywhere except IE6 and many mobile devices.
The easiest way is to use position: fixed
:
.element {
position: fixed;
bottom: 0;
right: 0;
}
http://www.w3.org/TR/CSS21/visuren.html#choose-position
(note that position fixed is buggy / doesn't work on ios and android browsers)