summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel James <daniel@calamity.org.uk>2014-11-15 11:29:43 +0000
committerDaniel James <daniel@calamity.org.uk>2015-05-10 20:18:47 +0100
commitc60b4d9df847a47c1fae6b7684e775e1a43b7ac8 (patch)
treed27abb31ce93b16fd8e40d77f95ab2b00370183e /doc
parent907447fbe8872cfa885acfadc8b7be797f687561 (diff)
downloadboost-c60b4d9df847a47c1fae6b7684e775e1a43b7ac8.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.v22
-rw-r--r--doc/src/boostbook.css16
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2
index df42dad22c..36bafcfad2 100644
--- a/doc/Jamfile.v2
+++ b/doc/Jamfile.v2
@@ -124,6 +124,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
=============================================================================*/