#div1 { background: #ffffff; padding: 6px; color:#333; font:normal 10px Arial, Helvetica, sans-serif; text-decoration: none; text-transform: uppercase; position: absolute; bottom: 20px; right: 20px; }
This div saves the 20x20 px position from the lower right corner of the page. But my site contains a pagination function with an endless page, and when the scroll bars appear in the browser window because the content is increasing, the div does not save its position in the lower right corner, but moves up the page. How can I make this div stay in the lower right corner even when the user scrolls or scrollbars appear? Thanks
html css scroll positioning
user852974
source share