Index: jquery.tablesorter.js =================================================================== --- jquery.tablesorter.js (revision 102278) +++ jquery.tablesorter.js (working copy) @@ -241,7 +241,7 @@ } $thead.append( this ); } ); - $table.prepend( $thead ); + $table.children('tbody').before( $thead ); } if( !$table.get(0).tFoot ) { var $tfoot = $( '' );