分两个表格,分别显示表格头和内容体$("#Scroll").scroll(function () { var scrollLeft = $(this).scrollLeft(); $(".column-container").css({ "left": -scrollLeft + "px" }); });