* src/tools/docmaker/tohtml.py: Improve CSS for fields. Make fields align horizotnally relative to full line width.
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 095049c..b5e1c31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2014-11-29 Werner Lemberg <wl@gnu.org>
+ * src/tools/docmaker/tohtml.py: Improve CSS for fields.
+
+ Make fields align horizotnally relative to full line width.
+
+2014-11-29 Werner Lemberg <wl@gnu.org>
+
* src/tools/docmaker/tohtml.py: Fix index and TOC templates.
This thinko was introduced 2014-11-27.
diff --git a/src/tools/docmaker/tohtml.py b/src/tools/docmaker/tohtml.py
index 30c1dde..819b4ca 100644
--- a/src/tools/docmaker/tohtml.py
+++ b/src/tools/docmaker/tohtml.py
@@ -77,13 +77,14 @@ html_header_2 = """\
table.center { margin: auto; }
table.fields { border: 0;
- border-spacing: 0; }
+ border-spacing: 0;
+ width: 100%; }
table.fields td.val { font-weight: bold;
text-align: right;
width: 30%;
- vertical-align: text-top;
+ vertical-align: baseline;
padding: 0 1em 0 0; }
- table.fields td.desc { vertical-align: text-top;
+ table.fields td.desc { vertical-align: baseline;
padding: 0 0 0 1em; }
table.index { margin: auto;
border: 0;