From c60b4d9df847a47c1fae6b7684e775e1a43b7ac8 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 15 Nov 2014 11:29:43 +0000 Subject: 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. --- doc/Jamfile.v2 | 2 ++ doc/src/boostbook.css | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) (limited to 'doc') 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 ../libs/type_index/doc//type_index boost.libraries=../../libs/libraries.htm + html:chunker.output.doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" + html:chunker.output.doctype-system="http://www.w3.org/TR/html4/loose.dtd" images 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 @@ -289,6 +289,22 @@ Tables border: none !important; } +/*============================================================================= +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 =============================================================================*/ -- cgit v1.2.1