* src/tools/docmaker/tohtml.py (html_header_2): Fix typo. Add `td.left' element to CSS. (toc_section_enter): Use it.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
diff --git a/ChangeLog b/ChangeLog
index 81ed2e8..0bad770 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-10-20 Werner Lemberg <wl@gnu.org>
+
+ * src/tools/docmaker/tohtml.py (html_header_2): Fix typo.
+ Add `td.left' element to CSS.
+ (toc_section_enter): Use it.
+
2007-10-18 David Turner <david@freetype.org>
* include/freetype/freetype.h, src/base/ftobjs.c: Rename API
diff --git a/src/tools/docmaker/tohtml.py b/src/tools/docmaker/tohtml.py
index 04dfba3..5e9ae18 100644
--- a/src/tools/docmaker/tohtml.py
+++ b/src/tools/docmaker/tohtml.py
@@ -26,7 +26,9 @@ html_header_2= """ API Reference</title>
p { text-align: justify; }
h1 { text-align: center; }
li { text-align: justify; }
- td { padding: 0 0.5em 0 0.5em }
+ td { padding: 0 0.5em 0 0.5em; }
+ td.left { padding: 0 0.5em 0 0.5em;
+ text-align: left; }
a:link { color: #0000EF; }
a:visited { color: #51188E; }
@@ -416,7 +418,7 @@ class HtmlFormatter(Formatter):
print "<table cellpadding=5>"
def toc_section_enter( self, section ):
- print "<tr valign=top><td>"
+ print '<tr valign=top><td class="left">'
print '<a href="' + self.make_section_url( section ) + '">' + \
section.title + '</a></td><td>'