(code_header, code_footer): Don't change font colour directly but

use a special <pre> class.
This commit is contained in:
Werner Lemberg 2003-07-25 22:21:57 +00:00
parent 64f1ba9064
commit d18e01352c
2 changed files with 6 additions and 2 deletions

View File

@ -15,6 +15,8 @@
but use a new <span> class.
(section_synopsis_header, section_synopsis_footer): Don't change
colour.
(code_header, code_footer): Don't change font colour directly but
use a special <pre> class.
(print_html_field): <tr> gets the `valign' attribute, not <table>.
(print_html_field_list): Ditto.
(index_exit): Don't use <center>...</center> but `align=center'

View File

@ -32,6 +32,8 @@ html_header_2= """ API Reference</title>
text-align: left;
white-space: pre;
color: darkblue; }
pre.colored { color: blue; }
</style>
</head>
<body>
@ -55,8 +57,8 @@ section_title_footer = "</h1></center>"
# The header and footer used for code segments.
#
code_header = "<font color=blue><pre>"
code_footer = "</pre></font>"
code_header = '<pre class="colored">'
code_footer = '</pre>'
# Paragraph header and footer.
#