Fix for category box display on IE
authormoodler <moodler>
Thu, 24 Oct 2002 12:49:53 +0000 (12:49 +0000)
committermoodler <moodler>
Thu, 24 Oct 2002 12:49:53 +0000 (12:49 +0000)
course/lib.php

index b064802..1343763 100644 (file)
@@ -579,7 +579,7 @@ function print_course_categories($categories, $selected="none", $width=180) {
                 print_spacer(8,1);
             }
             foreach ($categories as $category) {
-                print_simple_box_start("LEFT", "100%");
+                print_simple_box_start("CENTER", "100%");
                 print_heading("<A HREF=\"course/index.php?category=$category->id\">$category->name</A>", "LEFT");
                 $some = false;
                 echo "<UL>";