-4

I would like to know how to make an image a "sticky" on my page so that when visitors scroll down the page, the image still appears on the side.

stan
  • 1
  • 1
  • 6

1 Answers1

0

As mentioned by Romain Braun in the comment section, you will need to use CSS for that. In CSS there is a property with the name position whose value can be defined as fixed. It refers to the positioning of an object relative to the browser window, not relative to the document page. So, despite scrolling, the object to which this property was applied to will remain static.

Community
  • 1
  • 1
DAB
  • 93
  • 1
  • 7
  • You have answered 23 minutes ago, while 32 minutes ago this question was flagged as possible duplicate. Please, do not answer such qiestions here. They'll be eventually deleted. – trejder Jan 20 '15 at 21:00
  • No problem and no apologies needed! :> Everyone here was someday a beginner. Take it just as a simple note. – trejder Jan 21 '15 at 10:42