View Single Post
  #4 (permalink)  
Old Mar 6th, 2008, 12:13
Aso's Avatar
Aso Aso is offline
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,039
Blog Entries: 2
Thanks: 5
Thanked 26 Times in 23 Posts
Re: Anyone up for a little challenge?

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).
Reply With Quote