I have a master form for my website, and I want to dock a div to the top of the content area inside the master form. This div should always be visible despite scroll position. Is this possible?
A picture would explain it better.

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I posted a sample as a comment, so I suppose I’ll write out a full answer to this.
The markup is pretty straight-forward, but there are some important notes for each section.
HTML
CSS
JavaScript
Note #1
The scrolling header will be attached to the top of the page using
position: fixed, but this style will remove the content from content flow, which will cause the content to jump unless its container maintains the original height.Note #2
Styles belong in CSS, however it may be difficult to properly align some elements with their original position. You may need to dynamically set the
leftorrightcss property via JavaScript.