Commit a31f971577295e2b9bbdc0cd6561610a0f905057

Werner Lemberg 2014-11-29T07:18:44

* src/tools/docmaker/tohtml.py: Improve CSS for fields. Make fields align horizotnally relative to full line width.

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;