I would like to make a div become fixed so that the top margin is 1000px;
Basically i want the div to start scrolling to the page once you have scrolled down to the top of the div, and then it starts following the scoller and sticks to the top.
However, when I set the top margin to 1000px the div disappears because it is greater than the browser height.
Does any one have suggestions how I can get around this problem.
This is the CSS that I am using
Expand|Select|Wrap|Line Numbers
- .menuright{
- width: 200px;
- float:right;
- position:fixed;
- top: 1000px;
- background-color:#FF0;
- height: 200px;
- }