ref: 668425774214f407996e4db262db9a7f286c7b18
parent: 7f2425fb4f7d77d8e43907451d26b466b1c4d349
author: Werner Lemberg <[email protected]>
date: Sat Oct 20 12:17:28 EDT 2007
* src/tools/docmaker/tohtml.py (html_header_2): Fix typo. Add `td.left' element to CSS. (toc_section_enter): Use it.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-10-20 Werner Lemberg <[email protected]>
+
+ * 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 <[email protected]>
* include/freetype/freetype.h, src/base/ftobjs.c: Rename API
--- a/src/tools/docmaker/tohtml.py
+++ b/src/tools/docmaker/tohtml.py
@@ -26,7 +26,9 @@
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 @@
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>'