diff --git a/core/misc/tabledrag.js b/core/misc/tabledrag.js
index 4315057..72e01cb 100644
--- a/core/misc/tabledrag.js
+++ b/core/misc/tabledrag.js
@@ -187,6 +187,13 @@ Drupal.tableDrag.prototype.initColumns = function () {
 Drupal.tableDrag.prototype.hideColumns = function () {
   // Hide weight/parent cells and headers.
   $('.tabledrag-hide', 'table.tabledrag-processed').css('display', 'none');
+
+  /**
+   * Exception for IE8 bug with the right border of the last cell
+   * in the tables.
+   */
+  $('tr td:last-child', 'table.tabledrag-processed').addClass('cell-last-child');
+
   // Show TableDrag handles.
   $('.tabledrag-handle', 'table.tabledrag-processed').css('display', '');
   // Reduce the colspan of any effected multi-span columns.
diff --git a/core/themes/seven/ie.css b/core/themes/seven/ie.css
index d1a71ce..119bb2c 100644
--- a/core/themes/seven/ie.css
+++ b/core/themes/seven/ie.css
@@ -10,3 +10,11 @@ pre,
 kbd {
   font-size: 1em;
 }
+
+/* *
+ * Exception for IE8 bug with the right border of the last cell
+ * in tabledrag tables. This selector for the tabledrag.js.
+ */
+.cell-last-child {
+  border-right: 1px solid #bebfb9; /* LTR */
+}
diff --git a/core/themes/seven/style-rtl.css b/core/themes/seven/style-rtl.css
index a41d325..be3ba5b 100644
--- a/core/themes/seven/style-rtl.css
+++ b/core/themes/seven/style-rtl.css
@@ -125,10 +125,10 @@ table th.active img {
   right: auto;
 }
 /**
- * Exception for webkit bug with the right border of the last cell
- * in some tables, since it's webkit only, we can use :last-child
+ * Exception for IE8 bug with the right border of the last cell
+ * in tabledrag tables. This selector for the tabledrag.js.
  */
-tr td:last-child {
+.cell-last-child {
   border-left: 1px solid #bebfb9;
   border-right: none;
 }
diff --git a/core/themes/seven/style.css b/core/themes/seven/style.css
index 301659c..51ef00a 100644
--- a/core/themes/seven/style.css
+++ b/core/themes/seven/style.css
@@ -512,14 +512,6 @@ table.system-status-report tr.error {
   color: #8c2e0b;
   background-color: #fef5f1;
 }
-/**
- * Exception for webkit bug with the right border of the last cell
- * in some tables, since it's webkit only, we can use :last-child
- */
-tr td:last-child {
-  border-right: 1px solid #bebfb9; /* LTR */
-}
-
 
 /**
  * Fieldsets.
