From: Ben Pfaff <blp@cs.stanford.edu> Date: Wed, 3 Sep 2014 04:09:32 +0000 (-0700) Subject: html: Align table cells vertically at the top. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d48d485cb9eca0283aa5f910c86e86a73242490;p=pspp html: Align table cells vertically at the top. This is what the ascii and cairo drivers do, and it looks best. --- diff --git a/src/output/html.c b/src/output/html.c index c181ed2eda..8d20a61b37 100644 --- a/src/output/html.c +++ b/src/output/html.c @@ -377,7 +377,7 @@ html_output_table (struct html_driver *html, { int x, y; - fputs ("<TABLE>\n", html->file); + fputs ("<TABLE><TBODY VALIGN=\"TOP\">\n", html->file); if (caption != NULL) { @@ -493,7 +493,7 @@ html_output_table (struct html_driver *html, fputs (" </TR>\n", html->file); } - fputs ("</TABLE>\n\n", html->file); + fputs ("</TBODY></TABLE>\n\n", html->file); } struct output_driver_factory html_driver_factory =