aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2014-09-27 09:20:03 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2014-09-27 09:20:03 +0000
commit9060543cb011655fe00e94906803a2cee6d5b204 (patch)
treeb301e8f642bc95be02c8ae5428092a8bcb5ff44c /html.c
parent827b4587075bca8e968c6a815c176ce01fbb45ae (diff)
downloadmandoc-9060543cb011655fe00e94906803a2cee6d5b204.tar.gz
mandoc-9060543cb011655fe00e94906803a2cee6d5b204.tar.zst
mandoc-9060543cb011655fe00e94906803a2cee6d5b204.zip
HTML5-isation: remove more alignments.
Diffstat (limited to 'html.c')
-rw-r--r--html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/html.c b/html.c
index b7facda4..9a2e9d71 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.168 2014/09/27 09:13:39 kristaps Exp $ */
+/* $Id: html.c,v 1.169 2014/09/27 09:20:03 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -87,7 +87,6 @@ static const char *const htmlattrs[ATTR_MAX] = {
"style", /* ATTR_STYLE */
"width", /* ATTR_WIDTH */
"id", /* ATTR_ID */
- "align", /* ATTR_ALIGN */
"colspan", /* ATTR_COLSPAN */
"charset", /* ATTR_CHARSET */
};
@@ -202,7 +201,8 @@ print_gen_head(struct html *h)
*/
t = print_otag(h, TAG_STYLE, 0, NULL);
print_text(h, "table.head, table.foot { width: 100%; }\n"
- "td.head-rtitle, td.foot-os { text-align: right; }\n");
+ "td.head-rtitle, td.foot-os { text-align: right; }\n"
+ "td.head-vol { text-align: center; }\n");
print_tagq(h, t);
if (h->style) {