[Doc-SIG] HTML puzzle

David Goodger goodger@users.sourceforge.net
Sat, 03 Aug 2002 18:45:04 -0400


I've been fiddling with the stylesheet for Docutils output, and I came
across something strange in Netscape 4.7 (MacOS).  I've reduced it to one
variable: web server.  I've copied the HTML and stylesheet for PEP 257 from
python.org to docutils.sf.net, so I'm looking at the exact same data, but
they render differently.  Here are the two URLs:

    http://www.python.org/peps/pep-0257.html
    http://docutils.sf.net/spec/pep0257.html

(Note there's no "-"; that's so it doesn't clobber the locally-generated
file that does have a "-".  Otherwise insignificant.)

Specifically, the typeface and spacing of the RFC2822 headers and section
headers render differently.  The python.org one comes out correctly, with
headers in a sans-serif font, but the sf.net one uses a serif font.  In the
sf.net version, there's more space between the lines in the header.

Can anyone reproduce or explain this?

-- 
David Goodger  <goodger@users.sourceforge.net>  Open-source projects:
  - Python Docutils: http://docutils.sourceforge.net/
    (includes reStructuredText: http://docutils.sf.net/rst.html)
  - The Go Tools Project: http://gotools.sourceforge.net/