几乎所有主题,我是否需要使用 javascript 来实现此 pr,也许 css 很适合?我还需要该解决方案才能在 IE6 上正常工作。
如果 javascript 是唯一的解决方案,那么如何使 div 动画平滑地改变位置?
非常感谢您的帮助
最佳答案
像这样:
<div style="position: fixed;bottom: 0px;right:0px;">
This would be on the buttom of the page regardless to scroll.
</div>
关于javascript - 如何强制 div 始终出现在页面底部并且即使在滚动后也停留在那里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2530044/