diff options
author | Fred Drake <fdrake@acm.org> | 2003-09-06 01:10:14 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-09-06 01:10:14 (GMT) |
commit | f3552130e225dbdc4073ace1c05f45a41f94d484 (patch) | |
tree | 3474c88726a2581c31942056cb4348eb441d5de9 /Doc | |
parent | 74530ff4f9d9405d4aaf639ab1b6cb103892aca7 (diff) | |
download | cpython-f3552130e225dbdc4073ace1c05f45a41f94d484.zip cpython-f3552130e225dbdc4073ace1c05f45a41f94d484.tar.gz cpython-f3552130e225dbdc4073ace1c05f45a41f94d484.tar.bz2 |
avoid spurious vertical whitespace preceeding heading which are marked
with a \label
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/html/style.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/html/style.css b/Doc/html/style.css index e69eac1..7cc4947 100644 --- a/Doc/html/style.css +++ b/Doc/html/style.css @@ -49,6 +49,14 @@ h1, h2, h3, h4, h5, h6 { font-family: avantgarde, sans-serif; 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; |