From b58eedd5733a4bc8fc127ff8d510a4955b163abf Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 26 Oct 2017 20:21:59 -0400 Subject: src/html.c: Style table elements --- (limited to 'src/html.c') diff --git a/src/html.c b/src/html.c index 147cdf9..d4a08ab 100644 --- a/src/html.c +++ b/src/html.c @@ -143,6 +143,13 @@ static const gchar *styles = "form {\n" "margin: 0;\n" "}" + "table {\n" + "border-collapse: collapse;\n" + "}\n" + "table th {\n" + "padding: 6px 0;\n" + "text-align: left;\n" + "}\n" "form input, form select {\n" "border: 1px solid #9F9F9F;\n" "border-radius: 3px;\n" @@ -158,6 +165,14 @@ static const gchar *styles = "margin: 0;\n" "float: right;\n" "}\n" + "form table label {\n" + "margin: 6px 0;\n" + "padding: 0 6px 0 0;\n" + "text-align: right;\n" + "}\n" + "form table input, form table select {\n" + "margin: 6px 0;\n" + "}\n" "form label {\n" "display: block;\n" "}\n" -- cgit v0.9.1