* src/tools/docmaker/tohtml.py: Improve CSS for fields.

Make fields align horizotnally relative to full line width.
This commit is contained in:
Werner Lemberg 2014-11-29 07:18:44 +01:00
parent 8f795118b8
commit a31f971577
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -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;