I have the image at specific position e,g
img {
position:absolute;
top:150px;
}
Is there any to scroll the image with text scrolling so that image always stays at same position with respect to screen.
I don’t want to use position fixed
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.
You need to give it
fixedposition:And then adjust the
topandleftvalues accordingly.No need for jQuery but if you still want, you can do like: