From 56adb721f244d26f1f416b57634a00601f7eddf0 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 14 Sep 2026 11:03:21 -0400 Subject: update stylesheet for current table markup The stylesheet gains the rules that reproduce what the attributes did, so a table in a search result renders as it did before. (Tables written into the search database lost their obsolete presentational attributes: no summary, width, border, cellpadding or align, a
around a , column widths in a , /, scope on the header cells, and alignment by class). (assisted by Claude-Code) --- org/spine_search_cgi.org | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'org') diff --git a/org/spine_search_cgi.org b/org/spine_search_cgi.org index aadce48..c4cabe5 100644 --- a/org/spine_search_cgi.org +++ b/org/spine_search_cgi.org @@ -2063,6 +2063,33 @@ code { background-color : #555555; color : #DDDDDD; } +div.table { + margin : 1em 0; + overflow-x : auto; +} +table.table { + display : table; + width : 95%%; + margin : 0 auto; + border-collapse : collapse; + background-color : inherit; +} +table.table th, table.table td { + padding : 2px; + vertical-align : top; +} +table.table th { + font-weight : bold; +} +th.left, td.left { + text-align : left; +} +th.right, td.right { + text-align : right; +} +p.tablenote { + margin : 0.5em 0 0 0; +} pre { width : auto; display : block; -- cgit v1.2.3