if ($depth) {
$indent = $depth*30;
$rows = count($courses) + 1;
- echo '<td rowspan="'.$rows.'" valign="top" width="'.$indent.'">';
+ echo '<td class="category indentation" rowspan="'.$rows.'" valign="top">';
print_spacer(10, $indent);
echo '</td>';
}
if ($depth) {
$indent = $depth*20;
- echo '<td valign="top" width="'.$indent.'">';
+ echo '<td class="category indentation" valign="top">';
print_spacer(10, $indent);
echo '</td>';
}
}
.categorylist {
- width:90%;
- margin-left:auto;
- margin-right:auto;
+ width: 90%;
+ margin-left: auto;
+ margin-right: auto;
}
.categorylist .category.image {
- width:20px;
+ width: 20px;
}
.categorylist .category.number {
- text-align:right;
+ text-align: right;
+}
+
+.categorylist .category.indentation {
+ width: 1px;
}
.categoryboxcontent {