style.top 如: c.style.top=scrollTop; 在IE各版本中可以,Safari, chrome, Firefox都不work, 需要在后面 + "px"; 转载于:https://www.cnblogs.com/DataFlow/p/4188065.html