From 827b4587075bca8e968c6a815c176ce01fbb45ae Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 27 Sep 2014 09:13:39 +0000 Subject: Continue in HTML5-ing by kicking out some hard-coded alignments. --- html.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index e9e38555..b7facda4 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.167 2014/09/27 09:05:57 kristaps Exp $ */ +/* $Id: html.c,v 1.168 2014/09/27 09:13:39 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze @@ -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) { -- cgit v1.2.3-56-ge451