projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
230091e
)
html: Align table cells vertically at the top.
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 3 Sep 2014 04:09:32 +0000
(21:09 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 4 Sep 2014 04:51:37 +0000
(21:51 -0700)
This is what the ascii and cairo drivers do, and it looks best.
src/output/html.c
patch
|
blob
|
history
diff --git
a/src/output/html.c
b/src/output/html.c
index c181ed2edad19eb646eb5e7e635cebf5cf0313d0..8d20a61b3796c8837412018c436f80be77958d9e 100644
(file)
--- 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 ("</T
BODY></T
ABLE>\n\n", html->file);
}
struct output_driver_factory html_driver_factory =