]> git.mjollnir.org Git - moodle.git/commitdiff
Better for CSS
authormoodler <moodler>
Mon, 26 Jan 2004 11:47:20 +0000 (11:47 +0000)
committermoodler <moodler>
Mon, 26 Jan 2004 11:47:20 +0000 (11:47 +0000)
lib/weblib.php

index 88a0f90b82c747003b5c2ab50b86205f402a23b0..928fc326c0f38e0c2c445a22bd2871d8a633f7aa 100644 (file)
@@ -1338,7 +1338,7 @@ function print_table($table) {
         foreach ($table->data as $row) {
             echo "<tr valign=\"top\">";
             if ($row == "hr" and $countcols) {
-                echo "<td class=\"tabledivider\" colspan=\"$countcols\"></td>";
+                echo "<td colspan=\"$countcols\"><div class=\"tabledivider\"></div></td>";
             } else {  /// it's a normal row of data
                 foreach ($row as $key => $item) {
                     if (!isset($size[$key])) {