diff options
author | Fred Drake <fdrake@acm.org> | 1999-04-28 17:11:21 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-04-28 17:11:21 (GMT) |
commit | ea07f2751aa5857882a4dbeaa396be3768e9a37f (patch) | |
tree | d494173d9dd993e19fc80e74b81d713161189c15 | |
parent | 250ba78565c13d4c4bc7e2fec52e703f9d44243c (diff) | |
download | cpython-ea07f2751aa5857882a4dbeaa396be3768e9a37f.zip cpython-ea07f2751aa5857882a4dbeaa396be3768e9a37f.tar.gz cpython-ea07f2751aa5857882a4dbeaa396be3768e9a37f.tar.bz2 |
setup_column_alignments(): Adding valign=baseline to the <td> tag
makes the alignment work on Navigator as
well as IE. Uglier HTML, but it looks
right.
-rw-r--r-- | Doc/perl/python.perl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 36f0f15..2b6fa18 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -808,7 +808,8 @@ sub setup_column_alignments{ local($_) = @_; my($a1,$a2,$a3,$a4) = split(/[|]/,$_); my($th1,$th2,$th3,$th4) = ('<th>', '<th>', '<th>', '<th>'); - $col_aligns[0] = (($a1 eq 'c') ? '<td align=center>' : '<td>'); + $col_aligns[0] = (($a1 eq 'c') ? '<td align=center valign=baseline>' + : '<td valign=baseline>'); $col_aligns[1] = (($a2 eq 'c') ? '<td align=center>' : '<td>'); $col_aligns[2] = (($a3 eq 'c') ? '<td align=center>' : '<td>'); $col_aligns[3] = (($a4 eq 'c') ? '<td align=center>' : '<td>'); |