From 6463b3dea71e6df6442c1a10ea6972a9b3638184 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Wed, 14 Feb 2007 05:45:36 +0000 Subject: [PATCH] adding a div to help with css --- course/category.php | 2 ++ theme/standard/styles_layout.css | 1 + 2 files changed, 3 insertions(+) diff --git a/course/category.php b/course/category.php index 12df10b314..36a6ceb5fe 100644 --- a/course/category.php +++ b/course/category.php @@ -249,7 +249,9 @@ } } else if ($numcourses <= COURSE_MAX_SUMMARIES_PER_PAGE and !$page and !$creatorediting) { + print_box_start('courseboxes'); print_courses($category); + print_box_end(); } else { print_paging_bar($totalcount, $page, $perpage, "category.php?id=$category->id&perpage=$perpage&"); diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 941e1878d0..e55a774968 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -1533,6 +1533,7 @@ body#course-view .headingblock { margin-bottom: 9px; } +body#course-category .courseboxes, body#course-index .courseboxes { padding:20px; } -- 2.39.5