I had the same problem. and i resolved it using these steps.
edit the "tablesorter.pager.js" and in the function function fixPosition(table) { var c = table.config; if(!c.pagerPositionSet && c.positionFixed) { var c = table.config, o = $(table); if(o.offset) { c.container.css({ top: o.offset().top + o.height() + 'px', position: 'absolute' }); } c.pagerPositionSet = true; } } replace the line position:'absolute' with position:'relative' also in the this.defaults {} argument list, change "positionFixed: true," to "positionFixed: false,". and for the moving up to the start of table part.. i used the jquery scroll plugin http://plugins.jquery.com/project/ScrollTo add the line - $.scrollTo('#mytable','slow'); in each of five click event functions like this... ( #mytable is the id of you table sorter table ). $(config.cssFirst,pager).click(function() { moveToFirstPage(table); $.scrollTo('#mytable','slow'); return false; }); initialize the sorter with setting 'widthFixed:false',.................... hope this works for you too... ripcurlksm wrote: > > Is there any way i can move the pagination div to the top of the table > sort-- because the last page of the table sort always has a white gap > between the last row and the pagination buttons. > > Two ways to solve this would be to either move the pagination to the top > or fix the pagination div so that it adjusts to the last row of the table, > instead of assuming the rows are full and staying way beneath the content > at the bottom, causing a gap(see image below). > > Any thoughts? > > Here is the gap, when its limited to 10, which seems small, however, when > you limit it to 30 or 40 rows, it becomes a HUGE white gap. > > http://www.nabble.com/file/p20353088/Untitled-1.jpg > -- View this message in context: http://www.nabble.com/TableSorter-Pagination%3A-Move-pagination-to-top-tp20353088s27240p22129690.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.