posted 11 years ago
I have a div. within this div, a label on top and many buttons under the said label (so many buttons that the div now has v-scrollbar). I want the label to stay where it is when scrolling the div down using this code:
it works fine, but it's not very smooth. sometimes the label is seen to be dragged up/down when scrolling before bouncing back to its original spot. how can I make it completely stay where it is without being dragged along with the scroll, not even a little? thanks