position: fixed can do that. But you need to specify where you want the menu to sit.
For example
- Code: Select all
#selector {
position: fixed;
top: 20px;
left: 60px
}
This will put the #selector 20px from the top and 60px from the left of the
visible screen, relative to the containing element with
position: relative (
body by default).