Is it possible to position a div as a layer on top of the webpage html but:
- be fixed (same position if I scroll the page)
- have the features of absolute positioning, eg. does not disturb the html layout
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.
Have you tried:
?
The element will be fixed (also during scroll) on the top of the page, and you can place it giving x/y coordinates just as you do with
position: absoluteelements…