How can I set the position of element where by page scrolling it would be shown ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

How can I set the position of element where by page scrolling it would be shown ?

Suppose that my screen height browser is 1000px in height and I want to place a paragraph element in 1500px below the top of the page and by scrolling the page you can see that. How it is possible?

22nd Feb 2017, 7:27 AM
Sina Bahmanpour
Sina Bahmanpour - avatar
2 Answers
+ 1
top:1500px, position:absolute should work
22nd Feb 2017, 7:43 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar
+ 5
Yes, it does! Thank you😉
22nd Feb 2017, 9:39 AM
Sina Bahmanpour
Sina Bahmanpour - avatar