Index: misc/tableheader.js
===================================================================
RCS file: /cvs/drupal/drupal/misc/tableheader.js,v
retrieving revision 1.13
diff -u -p -r1.13 tableheader.js
--- misc/tableheader.js	15 Jan 2008 10:43:00 -0000	1.13
+++ misc/tableheader.js	19 Jan 2008 22:26:48 -0000
@@ -38,7 +38,7 @@ Drupal.behaviors.tableHeader = function 
       e.viewHeight = viewHeight;
       e.vPosition = $(e.table).offset().top;
       e.hPosition = $(e.table).offset().left;
-      e.vLength = $(e.table).height();
+      e.vLength = e.table.clientHeight;
       e.resizeWidths = true;
     }
 
@@ -53,15 +53,15 @@ Drupal.behaviors.tableHeader = function 
     if (e.resizeWidths) {
       var cellCount = 0;
       $('th', e).each(function() {
-        var cellWidth = parseInt($('th', e.table).eq(cellCount).css('width'));
+        var cellWidth = $('th', e.table).eq(cellCount).css('width');
         // Exception for IE7.
         if (!cellWidth) {
-          var cellWidth = $('th', e.table).eq(cellCount).width();
+          var cellWidth = $('th', e.table).get(cellCount).clientWidth +'px';
         }
         cellCount++;
-        $(this).css('width', cellWidth +'px');
+        $(this).css('width', cellWidth);
       });
-      $(e).css('width', $(e.table).width() +'px');
+      $(e).css('width', $(e.table).css('width'));
       e.resizeWidths = false;
     }
   };
