1010 * didn't really belong there.
1111 *
1212 * IDENTIFICATION
13- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-print.c,v 1.65 2006/02/06 02:23:07 momjian Exp $
13+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-print.c,v 1.66 2006/02/07 00:26:15 momjian Exp $
1414 *
1515 *-------------------------------------------------------------------------
1616 */
@@ -256,7 +256,7 @@ PQprint(FILE *fout, const PGresult *res, const PQprintOpt *po)
256256{
257257if (po -> html3 )
258258fprintf (fout ,
259- "<table %s><caption align=high >%d</caption>\n" ,
259+ "<table %s><caption align=\"top\" >%d</caption>\n" ,
260260po -> tableOpt ?po -> tableOpt :"" ,i );
261261else
262262fprintf (fout ,libpq_gettext ("-- RECORD %d --\n" ),i );
@@ -276,12 +276,12 @@ PQprint(FILE *fout, const PGresult *res, const PQprintOpt *po)
276276{
277277if (po -> caption )
278278fprintf (fout ,
279- "<table %s><caption align=high >%s</caption>\n" ,
279+ "<table %s><caption align=\"top\" >%s</caption>\n" ,
280280po -> tableOpt ?po -> tableOpt :"" ,
281281po -> caption );
282282else
283283fprintf (fout ,
284- "<table %s><caption align=high >"
284+ "<table %s><caption align=\"top\" >"
285285"Retrieved %d rows * %d fields"
286286"</caption>\n" ,
287287po -> tableOpt ?po -> tableOpt :"" ,nTups ,nFields );
@@ -406,8 +406,8 @@ do_field(const PQprintOpt *po, const PGresult *res,
406406{
407407if (po -> html3 )
408408fprintf (fout ,
409- "<tr><td align=left><b>%s</b></td>"
410- "<td align=%s >%s</td></tr>\n" ,
409+ "<tr><td align=\" left\" ><b>%s</b></td>"
410+ "<td align=\"%s\" >%s</td></tr>\n" ,
411411fieldNames [j ],
412412fieldNotNum [j ] ?"left" :"right" ,
413413pval );
@@ -502,7 +502,7 @@ do_header(FILE *fout, const PQprintOpt *po, const int nFields, int *fieldMax,
502502
503503if (po -> html3 )
504504{
505- fprintf (fout ,"<th align=%s >%s</th>" ,
505+ fprintf (fout ,"<th align=\"%s\" >%s</th>" ,
506506fieldNotNum [j ] ?"left" :"right" ,fieldNames [j ]);
507507}
508508else
@@ -546,7 +546,7 @@ output_row(FILE *fout, const PQprintOpt *po, const int nFields, char **fields,
546546char * p = fields [row_index * nFields + field_index ];
547547
548548if (po -> html3 )
549- fprintf (fout ,"<td align=%s >%s</td>" ,
549+ fprintf (fout ,"<td align=\"%s\" >%s</td>" ,
550550fieldNotNum [field_index ] ?"left" :"right" ,p ?p :"" );
551551else
552552{