diff options
author | Daniel James <daniel@calamity.org.uk> | 2014-11-15 11:29:43 +0000 |
---|---|---|
committer | Daniel James <daniel@calamity.org.uk> | 2014-11-15 11:29:43 +0000 |
commit | e224c831be195518596d03d0eb4d2eeca096e8de (patch) | |
tree | e3bbf189df1ff4c30b813e3df192afa831da2b34 /doc | |
parent | 861650ff0dc9fbd961c4fb77b6e732322e84aa98 (diff) | |
download | boost-e224c831be195518596d03d0eb4d2eeca096e8de.tar.gz |
Try using standards mode html.
A while ago I started working on a more gradual transition, but never
finished it. So instead just try it out and see if anything breaks.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Jamfile.v2 | 2 | ||||
-rw-r--r-- | doc/src/boostbook.css | 16 |
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index c855bc5560..0cc61344f5 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -126,6 +126,8 @@ boostbook doc <implicit-dependency>../libs/type_index/doc//type_index <xsl:param>boost.libraries=../../libs/libraries.htm + <format>html:<xsl:param>chunker.output.doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" + <format>html:<xsl:param>chunker.output.doctype-system="http://www.w3.org/TR/html4/loose.dtd" <dependency>images <dependency>callouts diff --git a/doc/src/boostbook.css b/doc/src/boostbook.css index d42b3c022f..28f8935991 100644 --- a/doc/src/boostbook.css +++ b/doc/src/boostbook.css @@ -290,6 +290,22 @@ Tables } /*============================================================================= +Suppress margins in tables +=============================================================================*/ + + table th > *:first-child, + table td > *:first-child + { + margin-top: 0; + } + + table th > *:last-child, + table td > *:last-child + { + margin-bottom: 0; + } + +/*============================================================================= Blurbs =============================================================================*/ |