diff --git a/course/lib.php b/course/lib.php
index 3b0c7c0b9db..a7c899544bf 100644
--- a/course/lib.php
+++ b/course/lib.php
@@ -1676,7 +1676,7 @@ function print_category_info($category, $depth, $files = false) {
echo '';
}
- echo '
'.$catimage.' | ';
+ echo ''.$catimage.' | ';
echo '';
echo ''.$category->name.'';
echo ' | ';
@@ -2567,4 +2567,4 @@ function can_delete_course($courseid) {
-?>
\ No newline at end of file
+?>
diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css
index 8494a7e9465..54b821b5911 100644
--- a/theme/standard/styles_layout.css
+++ b/theme/standard/styles_layout.css
@@ -1618,7 +1618,13 @@ body#course-index .addcategory {
}
.categorylist {
- width:100%;
+ width:90%;
+ margin-left:auto;
+ margin-right:auto;
+}
+
+.categorylist .category.image {
+ width:20px;
}
.categoryboxcontent {