Table冻结表头: 代码如下: [removed] function fixupFirstRow(tab) { var div=tab[removed]; if(div.className.toLowerCase()==”freezediv”){ tab.rows[0].style.zIndex=”1″; tab.rows[0].style.position=”relative”; div.onscroll = function(){ var tr = tab.rows[0]; tr.styl