aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2014-09-27 09:26:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2014-09-27 09:26:01 +0000
commitb3f49705f54dd0c371648ec0b3db49c6970b1a9b (patch)
tree4414b1ba1d771954242306179ff1fce2531b7f3f /html.c
parent9060543cb011655fe00e94906803a2cee6d5b204 (diff)
downloadmandoc-b3f49705f54dd0c371648ec0b3db49c6970b1a9b.tar.gz
mandoc-b3f49705f54dd0c371648ec0b3db49c6970b1a9b.tar.zst
mandoc-b3f49705f54dd0c371648ec0b3db49c6970b1a9b.zip
Remove last hard-coded width attribute.
Diffstat (limited to 'html.c')
-rw-r--r--html.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/html.c b/html.c
index 9a2e9d71..d3fbf852 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.169 2014/09/27 09:20:03 kristaps Exp $ */
+/* $Id: html.c,v 1.170 2014/09/27 09:26:01 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -85,7 +85,6 @@ static const char *const htmlattrs[ATTR_MAX] = {
"media", /* ATTR_MEDIA */
"class", /* ATTR_CLASS */
"style", /* ATTR_STYLE */
- "width", /* ATTR_WIDTH */
"id", /* ATTR_ID */
"colspan", /* ATTR_COLSPAN */
"charset", /* ATTR_CHARSET */
@@ -202,7 +201,9 @@ 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-vol { text-align: center; }\n");
+ "td.head-vol { text-align: center; }\n"
+ "table.foot td { width: 50%; }\n"
+ "table.head td { width: 33%; }\n");
print_tagq(h, t);
if (h->style) {