From 0a3c818fc50d4a2f19666d775346bb781639b93e Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 10 Nov 2004 19:22:05 +0000 Subject: - hack for MSIE5 to make (real) tables center - remove last
element (long deprecated in HTML) --- Doc/html/style.css | 6 +++--- Doc/perl/python.perl | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Doc/html/style.css b/Doc/html/style.css index 4ce5126..4464213 100644 --- a/Doc/html/style.css +++ b/Doc/html/style.css @@ -196,9 +196,9 @@ address { font-size: 80%; } border-left-width: 0px; vertical-align: baseline; } -.realtable .center { text-align: center; } -.realtable .left { text-align: left; } -.realtable .right { text-align: right; } +.center { text-align: center; } +.left { text-align: left; } +.right { text-align: right; } .refcount-info { font-style: italic; } .refcount-info .value { font-weight: bold; diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 2671bbc..a0cb70c 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -1416,7 +1416,7 @@ sub do_env_tableii{ my $a1 = $col_aligns[0]; my $a2 = $col_aligns[1]; s/\\lineii' + return '
' . "\n " . "\n " . "\n $th1$h1" @@ -1426,7 +1426,7 @@ sub do_env_tableii{ . "\n " . $_ . "\n " - . "\n
"; + . "\n
"; } sub do_env_longtableii{ @@ -1460,7 +1460,7 @@ sub do_env_tableiii{ my $a2 = $col_aligns[1]; my $a3 = $col_aligns[2]; s/\\lineiii' + return '
' . "\n " . "\n " . "\n $th1$h1" @@ -1471,7 +1471,7 @@ sub do_env_tableiii{ . "\n " . $_ . "\n " - . "\n
"; + . "\n
"; } sub do_env_longtableiii{ @@ -1509,7 +1509,7 @@ sub do_env_tableiv{ my $a3 = $col_aligns[2]; my $a4 = $col_aligns[3]; s/\\lineiv' + return '
' . "\n " . "\n " . "\n $th1$h1" @@ -1521,7 +1521,7 @@ sub do_env_tableiv{ . "\n " . $_ . "\n " - . "\n
"; + . "\n
"; } sub do_env_longtableiv{ @@ -1563,7 +1563,7 @@ sub do_env_tablev{ my $a4 = $col_aligns[3]; my $a5 = $col_aligns[4]; s/\\linev' + return '
' . "\n " . "\n " . "\n $th1$h1" @@ -1576,7 +1576,7 @@ sub do_env_tablev{ . "\n " . $_ . "\n " - . "\n
"; + . "\n
"; } sub do_env_longtablev{ @@ -1720,9 +1720,9 @@ sub do_cmd_maketitle{ } } else { - $the_title .= ("\n
" + $the_title .= ("\n
" . make_my_titlepage() - . "\n
"); + . "\n"); } $the_title .= "\n"; return $the_title . $_; -- cgit v0.12