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.
This commit is contained in:
Fred Drake 1999-04-28 17:11:21 +00:00
parent 250ba78565
commit ea07f2751a
1 changed files with 2 additions and 1 deletions

View File

@ -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>');