diff options
-rw-r--r-- | inc/html.php | 5 | ||||
-rw-r--r-- | style.css | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php index 77775ae5f..5969198bd 100644 --- a/inc/html.php +++ b/inc/html.php @@ -762,7 +762,10 @@ function html_buildlist($data,$class,$func,$lifunc='html_li_default'){ if( $item['level'] > $level ){ //open new list - $ret .= "\n<ul class=\"$class\">\n"; + for($i=0; $i<($item['level'] - $level); $i++){ + if ($i) $ret .= "<li class=\"clear\">\n"; + $ret .= "\n<ul class=\"$class\">\n"; + } }elseif( $item['level'] < $level ){ //close last item $ret .= "</li>\n"; @@ -520,6 +520,12 @@ ul.toc li { padding-left:0.4em; } +ul.toc li.clear { +/* background: transparent url(images/blank.gif) 0 0.6em no-repeat;*/ + background-image: none; + padding-left:0.4em; +} + a.toc { color: #436976; text-decoration:none; |