html: Make <th> cells be font-weight: normal by default.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 28 Dec 2020 22:13:43 +0000 (14:13 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 28 Dec 2020 22:13:43 +0000 (14:13 -0800)
This overrides typical web browser defaults.  That seems reasonable, since
the driver styles all the cells according to the user specifications.  We
could just use <td> for all cells, but there might be semantic value in
having properly marked header cells.

src/output/html.c

index 8c4c14a1806b707727e49b05fb44b656818050aa..df7003a4a90cf4b9f74ff5bd000f954d375cbfc4 100644 (file)
@@ -161,7 +161,7 @@ put_header (struct html_driver *html)
             "caption {\n"
             "  text-align: left\n"
             "}\n"
-
+            "th { font-weight: normal }\n"
             "a:link {\n"
             "  color: #1f00ff;\n"
             "}\n"