changeset 28:409394dbb9f0

fix table of contents
author Radomir Dopieralski <devel@sheep.art.pl>
date Thu, 05 Jun 2008 18:02:51 +0200
parents e743b395bac9
children 991206cc375f
files mfact/css/common.css
diffstat 1 files changed, 9 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mfact/css/common.css	Thu Jun 05 17:56:49 2008 +0200
+++ b/mfact/css/common.css	Thu Jun 05 18:02:51 2008 +0200
@@ -105,6 +105,7 @@
 
 table
 {
+    background: #fff;
 	margin: 0.5em 0 0 0.5em;
 	border-collapse: collapse;
 }
@@ -125,12 +126,14 @@
                      color: black; background-color: #eeeeee;
                      font-size: small;
                      text-align:left;
-                     margin: 0.5em; padding-left: 2em;
-                     width:50%; }
-.table-of-contents ol { margin:0; margin-left:1em;
-                        list-style-type:decimal; }
-.table-of-contents ul { margin:0;
-                        list-style-type:none; }
+                     margin: 0.5em -188px 0.5em 0.5em; 
+                     padding: 0.25em;
+                      width:50%; 
+                    float: right;
+}
+.table-of-contents ol { padding: 0; margin:0; margin-left:2.5em; list-style-type:decimal; }
+.table-of-contents ul { padding: 0; margin:0; list-style-type:none; }
+.table-of-contents li { margin:0; padding: 0 }
 .table-of-contents-heading { font-weight:bold; padding:0; margin:0; }