]> git.mjollnir.org Git - moodle.git/commitdiff
No margins on bottom or top
authormoodler <moodler>
Thu, 7 Aug 2003 16:20:31 +0000 (16:20 +0000)
committermoodler <moodler>
Thu, 7 Aug 2003 16:20:31 +0000 (16:20 +0000)
course/lib.php

index e530efc2057a2c89d1255400361dbf4fa9b67dcf..adae5f4505db80ba1ea823256aa53ce3193d3241 100644 (file)
@@ -902,7 +902,7 @@ function print_category_info($category, $depth) {
     echo "<tr>";
     echo "<td valign=\"top\">";
     for ($i=0; $i<$depth;$i++) {
-        echo "<ul style=\"margin-bottom: 0\">";
+        echo "<ul style=\"margin-bottom:0;margin-top:0\">";
     }
     echo "<font size=+1><a $catlinkcss ".
          "href=\"$CFG->wwwroot/course/category.php?id=$category->id\">$category->name</a></font>";
@@ -910,7 +910,7 @@ function print_category_info($category, $depth) {
     if ($CFG->frontpage == FRONTPAGECOURSELIST) {
         if ($courses = get_courses($category->id)) {
             foreach ($courses as $course) {
-                echo "<ul style=\"margin-bottom: 0\">";
+                echo "<ul style=\"margin-bottom:0;margin-top:0\">";
                 $linkcss = $course->visible ? "" : " class=\"dimmed\" ";
                 echo "<a $linkcss href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->fullname</a>";
                 echo "&nbsp;&nbsp;";