diff Doc/html/style.css @ 30340:a11e1cb30644 legacy-trunk

avoid spurious vertical whitespace preceeding heading which are marked with a \label
author Fred Drake <fdrake@acm.org>
date Sat, 06 Sep 2003 01:10:14 +0000
parents 2a82914b08c5
children 62ae219144c4
line wrap: on
line diff
--- a/Doc/html/style.css	Fri Sep 05 15:50:20 2003 +0000
+++ b/Doc/html/style.css	Sat Sep 06 01:10:14 2003 +0000
@@ -49,6 +49,14 @@
 h1                      { font-size: 180%; }
 h2                      { font-size: 150%; }
 h3, h4                  { font-size: 120%; }
+
+/* LaTeX2HTML insists on inserting <br> elements into headers which
+ * are marked with \label.  This little bit of CSS magic ensures that
+ * these elements don't cause spurious whitespace to be added.
+ */
+h1>br, h2>br, h3>br,
+h4>br, h5>br, h6>br     { display: none; }
+
 code, tt                { font-family: "lucida typewriter", lucidatypewriter,
                                        monospace; }
 var                     { font-family: times, serif;