diff --git a/ChangeLog b/ChangeLog index 095049ca6..b5e1c3161 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-11-29 Werner Lemberg + + * src/tools/docmaker/tohtml.py: Improve CSS for fields. + + Make fields align horizotnally relative to full line width. + 2014-11-29 Werner Lemberg * src/tools/docmaker/tohtml.py: Fix index and TOC templates. diff --git a/src/tools/docmaker/tohtml.py b/src/tools/docmaker/tohtml.py index 30c1dde69..819b4cac1 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;