From a6c67d07bfe6de1715b2d1147f82de34d1ff3256 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Fri, 19 Aug 2011 19:11:42 +0000 Subject: [PATCH] 4305: p element in W3 compliance svn: r18049 --- src/plugins/webreport/NarrativeWeb.py | 3 ++- src/plugins/webstuff/css/Web_Basic-Ash.css | 2 +- src/plugins/webstuff/css/Web_Basic-Blue.css | 2 +- src/plugins/webstuff/css/Web_Basic-Cypress.css | 2 +- src/plugins/webstuff/css/Web_Basic-Lilac.css | 2 +- src/plugins/webstuff/css/Web_Basic-Peach.css | 2 +- src/plugins/webstuff/css/Web_Basic-Spruce.css | 2 +- src/plugins/webstuff/css/Web_Mainz.css | 2 +- src/plugins/webstuff/css/Web_Nebraska.css | 4 ++-- src/plugins/webstuff/css/Web_Print-Default.css | 2 +- src/plugins/webstuff/css/Web_Visually.css | 2 +- 11 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index e95c01b91..43c6720b8 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -1863,7 +1863,8 @@ class BasePage(object): thumbnail += hyper if usedescr: - hyper += Html("p", name, inline = True) + hyper += Html('br') + hyper += Html("span", name, inline = True) # return thumbnail division to its callers return thumbnail diff --git a/src/plugins/webstuff/css/Web_Basic-Ash.css b/src/plugins/webstuff/css/Web_Basic-Ash.css index 7b997ec28..0eb4101f6 100644 --- a/src/plugins/webstuff/css/Web_Basic-Ash.css +++ b/src/plugins/webstuff/css/Web_Basic-Ash.css @@ -846,7 +846,7 @@ div#addresses table.infolist tbody tr td.ColumnValue { padding:0; border:solid 1px #999; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ diff --git a/src/plugins/webstuff/css/Web_Basic-Blue.css b/src/plugins/webstuff/css/Web_Basic-Blue.css index 0f3bbb4b1..dab7e33d8 100644 --- a/src/plugins/webstuff/css/Web_Basic-Blue.css +++ b/src/plugins/webstuff/css/Web_Basic-Blue.css @@ -1211,7 +1211,7 @@ div#Residence table.infolist tr td { border: solid 1px #000; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ font: normal .7em/1.4em sans-serif; diff --git a/src/plugins/webstuff/css/Web_Basic-Cypress.css b/src/plugins/webstuff/css/Web_Basic-Cypress.css index 722819f33..3e4b8e653 100644 --- a/src/plugins/webstuff/css/Web_Basic-Cypress.css +++ b/src/plugins/webstuff/css/Web_Basic-Cypress.css @@ -843,7 +843,7 @@ div#addresses table.infolist tbody tr td.ColumnValue { padding:0; border:solid 1px #7C8F7C; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ diff --git a/src/plugins/webstuff/css/Web_Basic-Lilac.css b/src/plugins/webstuff/css/Web_Basic-Lilac.css index b3cdad003..6fb4fca55 100644 --- a/src/plugins/webstuff/css/Web_Basic-Lilac.css +++ b/src/plugins/webstuff/css/Web_Basic-Lilac.css @@ -844,7 +844,7 @@ div#addresses table.infolist tbody tr td.ColumnValue { padding:0; border:solid 1px #669; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ diff --git a/src/plugins/webstuff/css/Web_Basic-Peach.css b/src/plugins/webstuff/css/Web_Basic-Peach.css index cf84bbe03..facbd7eb3 100644 --- a/src/plugins/webstuff/css/Web_Basic-Peach.css +++ b/src/plugins/webstuff/css/Web_Basic-Peach.css @@ -845,7 +845,7 @@ div#addresses table.infolist tbody tr td.ColumnValue { padding:0; border:solid 1px #8C581C; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ diff --git a/src/plugins/webstuff/css/Web_Basic-Spruce.css b/src/plugins/webstuff/css/Web_Basic-Spruce.css index e755e504b..7dbba161c 100644 --- a/src/plugins/webstuff/css/Web_Basic-Spruce.css +++ b/src/plugins/webstuff/css/Web_Basic-Spruce.css @@ -845,7 +845,7 @@ div#addresses table.infolist tbody tr td.ColumnValue { padding:0; border:solid 1px #7CA3DD; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ diff --git a/src/plugins/webstuff/css/Web_Mainz.css b/src/plugins/webstuff/css/Web_Mainz.css index 8d8089677..a85eaba83 100644 --- a/src/plugins/webstuff/css/Web_Mainz.css +++ b/src/plugins/webstuff/css/Web_Mainz.css @@ -847,7 +847,7 @@ div#addresses table.infolist tbody tr td.ColumnValue { padding:0; border:solid 1px #7D5925; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ diff --git a/src/plugins/webstuff/css/Web_Nebraska.css b/src/plugins/webstuff/css/Web_Nebraska.css index 1922fbf8d..40216b16a 100644 --- a/src/plugins/webstuff/css/Web_Nebraska.css +++ b/src/plugins/webstuff/css/Web_Nebraska.css @@ -98,7 +98,7 @@ img { padding:0; background:none; } -.content div.snapshot div.thumbnail p { +.content div.snapshot div.thumbnail span { display:none; } .fullclear { @@ -832,7 +832,7 @@ div#addresses table.infolist tbody tr td.ColumnValue { padding:0; border:solid 1px #542; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ diff --git a/src/plugins/webstuff/css/Web_Print-Default.css b/src/plugins/webstuff/css/Web_Print-Default.css index f1fb60e5f..58e3d75bf 100644 --- a/src/plugins/webstuff/css/Web_Print-Default.css +++ b/src/plugins/webstuff/css/Web_Print-Default.css @@ -407,7 +407,7 @@ table.surname thead tr th.ColumnParents, table.surname tbody tr td.ColumnParents padding:0; border:solid .5pt #000; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { font:normal 7pt/9pt sans-serif; text-align:center; width:80%; diff --git a/src/plugins/webstuff/css/Web_Visually.css b/src/plugins/webstuff/css/Web_Visually.css index 9e730d700..6a3bedd29 100644 --- a/src/plugins/webstuff/css/Web_Visually.css +++ b/src/plugins/webstuff/css/Web_Visually.css @@ -1188,7 +1188,7 @@ div#Addresses table.infolist tbody tr td.ColumnPhone { padding:0; border: solid 1px #5D835F; } -#indivgallery div.thumbnail p { +#indivgallery div.thumbnail span { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */