diff --git a/core/modules/simpletest/simpletest.css b/core/modules/simpletest/simpletest.css
index 86bd04b..454bd6a 100644
--- a/core/modules/simpletest/simpletest.css
+++ b/core/modules/simpletest/simpletest.css
@@ -1,9 +1,9 @@
 
 /* Test Table */
-#simpletest-form-table th.select-all {
+.simpletest-form-table .select-all {
   width: 1em;
 }
-th.simpletest_test {
+.simpletest_test {
   width: 16em;
 }
 
@@ -22,16 +22,16 @@ th.simpletest_test {
 .simpletest-test-description .description {
   margin: 0;
 }
-#simpletest-form-table tr td {
+.simpletest-form-table tr td {
   background-color: white;
   color: #494949;
 }
-#simpletest-form-table tr.simpletest-group td {
+.simpletest-form-table .simpletest-group td {
   background-color: #edf5fa;
   color: #494949;
 }
 
-table#simpletest-form-table tr.simpletest-group label {
+.simpletest-form-table .simpletest-group label {
   display: inline;
 }
 
@@ -39,46 +39,46 @@ div.message > div.item-list {
   font-weight: normal;
 }
 
-div.simpletest-pass {
+.simpletest-pass {
   color: #33a333;
 }
 .simpletest-fail {
   color: #981010;
 }
 
-tr.simpletest-pass.odd {
+.simpletest-pass.odd {
   background-color: #b6ffb6;
 }
-tr.simpletest-pass.even {
+.simpletest-pass.even {
   background-color: #9bff9b;
 }
-tr.simpletest-fail.odd {
+.simpletest-fail.odd {
   background-color: #ffc9c9;
 }
-tr.simpletest-fail.even {
+.simpletest-fail.even {
   background-color: #ffacac;
 }
-tr.simpletest-exception.odd {
+.simpletest-exception.odd {
   background-color: #f4ea71;
 }
-tr.simpletest-exception.even {
+.simpletest-exception.even {
   background-color: #f5e742;
 }
-tr.simpletest-debug.odd {
+.simpletest-debug.odd {
   background-color: #eee;
 }
-tr.simpletest-debug.even {
+.simpletest-debug.even {
   background-color: #fff;
 }
 
-a.simpletest-collapse {
+.simpletest-collapse {
   height: 0;
   width: 0;
   top: -99em;
   position: absolute;
 }
-a.simpletest-collapse:focus,
-a.simpletest-collapse:hover {
+.simpletest-collapse:focus,
+.simpletest-collapse:hover {
   font-size: 80%;
   top: 0px;
   height: auto;
diff --git a/core/modules/simpletest/simpletest.pages.inc b/core/modules/simpletest/simpletest.pages.inc
index a98b445..f7e9a6c 100644
--- a/core/modules/simpletest/simpletest.pages.inc
+++ b/core/modules/simpletest/simpletest.pages.inc
@@ -173,7 +173,7 @@ function theme_simpletest_test_table($variables) {
     return '<strong>' . t('No tests to display.') . '</strong>';
   }
   else {
-    return theme('table', array('header' => $header, 'rows' => $rows, 'attributes' => array('id' => 'simpletest-form-table')));
+    return theme('table', array('header' => $header, 'rows' => $rows, 'attributes' => array('class' => array('simpletest-form-table'))));
   }
 }
 
