summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2014-09-27 09:13:39 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2014-09-27 09:13:39 +0000
commit379b6790c4ec053fdda28a8938bc03abc807ebe5 (patch)
tree248dc897582fe48da2fd8810aff552a36560beec /html.c
parentbd0e1539201fad6b2a3f492cabb69c5be5326b02 (diff)
downloadmandoc-379b6790c4ec053fdda28a8938bc03abc807ebe5.tar.gz
Continue in HTML5-ing by kicking out some hard-coded alignments.
Diffstat (limited to 'html.c')
-rw-r--r--html.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/html.c b/html.c
index 15d838b0..6220e223 100644
--- a/html.c
+++ b/html.c
@@ -197,8 +197,12 @@ print_gen_head(struct html *h)
tag[0].val = "utf-8";
print_otag(h, TAG_META, 1, tag);
+ /*
+ * Print a default style-sheet.
+ */
t = print_otag(h, TAG_STYLE, 0, NULL);
- print_text(h, "table.head, table.foot { width: 100%; }\n");
+ print_text(h, "table.head, table.foot { width: 100%; }\n"
+ "td.head-rtitle, td.foot-os { text-align: right; }\n");
print_tagq(h, t);
if (h->style) {