Index: moodle/course/lib.php
--- moodle/course/lib.php Base (1.744)
+++ moodle/course/lib.php Locally Modified (Based On 1.744)
@@ -2024,11 +2024,9 @@
         $catimage = "&nbsp;";
     }
 
-    echo "\n\n".'<table class="categorylist">';
-
     $courses = get_courses($category->id, 'c.sortorder ASC', 'c.id,c.sortorder,c.visible,c.fullname,c.shortname,c.summary');
     if ($showcourses and $coursecount) {
-
+        echo "\n\n".'<table class="categorylist">';
         echo '<tr>';
 
         if ($depth) {

@@ -2071,28 +2069,20 @@
                 echo '</td></tr>';
             }
         }
+        echo '</table>';
     } else {
-
-        echo '<tr>';
-
+        echo '<div class="categorylist">';
+        echo '<div class="category">';
         if ($depth) {
             $indent = $depth*20;
-            echo '<td class="category indentation" valign="top">';
             echo $OUTPUT->spacer(array('height'=>10, 'width'=>$indent, 'br'=>true)); // should be done with CSS instead
-            echo '</td>';
         }
-
-        echo '<td valign="top" class="category name">';
         echo '<a '.$catlinkcss.' href="'.$CFG->wwwroot.'/course/category.php?id='.$category->id.'">'. format_string($category->name).'</a>';
-        echo '</td>';
-        echo '<td valign="top" class="category number">';
-        if (count($courses)) {
-           echo count($courses);
+        echo '<span class="numberofcourse" title="'. format_string('numberofcourses'). '"> ('. count($courses). ')</span>';
+        echo '</div>';
+        echo '</div>';
         }
-        echo '</td></tr>';
     }
-    echo '</table>';
-}
 
 /**
  * Print the buttons relating to course requests.
Index: moodle/theme/base/style/core.css
--- moodle/theme/base/style/core.css Base (1.43)
+++ moodle/theme/base/style/core.css Locally Modified (Based On 1.43)
@@ -95,6 +95,8 @@
 .arrow_button input {overflow:hidden;}
 /** IE6 float + background bug solution **/
 .ie6 li.section {line-height:1.2em;width:100%;}
+.categorylist .category .numberofcourse {font-style: italic; font-size: 0.85em; font-style: normal;}
+.categorylist .category {padding-top: 5px; padding-bottom: 5px; }
 
 /**
  * Accessibility features
